WARNING: char * array declaration might be better as static const #35: FILE: tools/testing/selftests/bpf/prog_tests/fexit_bpf2bpf.c:352: + const char *prog_name[] = { WARNING: quoted string split across lines #57: FILE: tools/testing/selftests/bpf/prog_tests/fexit_bpf2bpf.c:452: + "Return type UNKNOWN of test_freplace_int_with_void()" + " doesn't match type INT of global_func2()"); WARNING: line length of 96 exceeds 80 columns #120: FILE: tools/testing/selftests/bpf/progs/exceptions_fail.c:58: +__failure __msg("Global function exception_cb_bad_ret_type1() return value not void or scalar.") WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #151: FILE: tools/testing/selftests/bpf/progs/freplace_int_with_void.c:6: +volatile int data; WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #170: FILE: tools/testing/selftests/bpf/progs/freplace_void.c:5: +volatile int data; CHECK: Lines should not end with a '(' #202: FILE: tools/testing/selftests/bpf/progs/test_global_func18.c:17: + asm volatile( total: 0 errors, 5 warnings, 1 checks, 146 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit 8f03215ccc70 ("selftests: bpf: Add tests for void global subprogs") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 5 warnings, 1 checks, 146 lines checked