WARNING: Prefer noinline over __attribute__((noinline)) #80: FILE: tools/testing/selftests/bpf/progs/verifier_call_large_imm.c:17: +static __attribute__((noinline)) void padding_subprog(void) CHECK: Lines should not end with a '(' #82: FILE: tools/testing/selftests/bpf/progs/verifier_call_large_imm.c:19: + asm volatile ( WARNING: Prefer noinline over __attribute__((noinline)) #90: FILE: tools/testing/selftests/bpf/progs/verifier_call_large_imm.c:27: +static __attribute__((noinline)) int target_subprog(void) WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #93: FILE: tools/testing/selftests/bpf/progs/verifier_call_large_imm.c:30: + volatile int magic_ret = 3; CHECK: Lines should not end with a '(' #105: FILE: tools/testing/selftests/bpf/progs/verifier_call_large_imm.c:42: + asm volatile ( WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #118: FILE: tools/testing/selftests/bpf/progs/verifier_call_large_imm.c:55: + volatile int flag = -1; total: 0 errors, 4 warnings, 2 checks, 80 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 70cbfa609ba6 ("selftests/bpf: Add test for large offset bpf-to-bpf call") 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, 4 warnings, 2 checks, 80 lines checked