WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #46: new file mode 100644 WARNING: Prefer __section(name) over __attribute__((section(name))) #62: FILE: tools/testing/selftests/bpf/prog_tests/usdt_o2.c:12: +#define SEC(name) __attribute__((section(name), used)) WARNING: Prefer __used over __attribute__((used)) #62: FILE: tools/testing/selftests/bpf/prog_tests/usdt_o2.c:12: +#define SEC(name) __attribute__((section(name), used)) CHECK: Please don't use multiple blank lines #64: FILE: tools/testing/selftests/bpf/prog_tests/usdt_o2.c:14: + + WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #65: FILE: tools/testing/selftests/bpf/prog_tests/usdt_o2.c:15: +static volatile __u64 array[1] = {test_value}; WARNING: externs should be avoided in .c files #66: FILE: tools/testing/selftests/bpf/prog_tests/usdt_o2.c:16: +unsigned short test_usdt1_semaphore SEC(".probes"); WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #72: FILE: tools/testing/selftests/bpf/prog_tests/usdt_o2.c:22: + for (volatile int i = 0; i <= 0; i++) WARNING: line length of 82 exceeds 80 columns #98: FILE: tools/testing/selftests/bpf/prog_tests/usdt_o2.c:48: + 0 /*self*/, "/proc/self/exe", CHECK: Please don't use multiple blank lines #116: FILE: tools/testing/selftests/bpf/prog_tests/usdt_o2.c:66: + + total: 0 errors, 7 warnings, 2 checks, 122 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 58491f7b6b73 ("selftests/bpf: Add an usdt_o2 test case in selftests to cover SIB handling logic") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE 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, 7 warnings, 2 checks, 122 lines checked