WARNING: Missing a blank line after declarations #41: FILE: tools/testing/selftests/bpf/prog_tests/stack_arg.c:13: + int err, prog_fd; + LIBBPF_OPTS(bpf_test_run_opts, topts, CHECK: Alignment should match open parenthesis #42: FILE: tools/testing/selftests/bpf/prog_tests/stack_arg.c:14: + LIBBPF_OPTS(bpf_test_run_opts, topts, + .data_in = &pkt_v4, WARNING: Missing a blank line after declarations #81: FILE: tools/testing/selftests/bpf/prog_tests/stack_arg.c:53: + int err, prog_fd; + LIBBPF_OPTS(bpf_test_run_opts, topts, CHECK: Alignment should match open parenthesis #82: FILE: tools/testing/selftests/bpf/prog_tests/stack_arg.c:54: + LIBBPF_OPTS(bpf_test_run_opts, topts, + .data_in = &pkt_v4, WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #204: FILE: tools/testing/selftests/bpf/progs/stack_arg.c:27: +const volatile bool has_stack_arg = true; WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #266: FILE: tools/testing/selftests/bpf/progs/stack_arg.c:89: +const volatile bool has_stack_arg = false; WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #304: FILE: tools/testing/selftests/bpf/progs/stack_arg_kfunc.c:10: +const volatile bool has_stack_arg = true; WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #331: FILE: tools/testing/selftests/bpf/progs/stack_arg_kfunc.c:37: +const volatile bool has_stack_arg = false; total: 0 errors, 6 warnings, 2 checks, 360 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 3e05b2a35cae ("selftests/bpf: Add tests for BPF function stack arguments") 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, 6 warnings, 2 checks, 360 lines checked