WARNING: externs should be avoided in .c files #50: FILE: tools/testing/selftests/bpf/bench.c:552: +extern const struct bench bench_dynptr_slice; WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #63: new file mode 100644 WARNING: line length of 90 exceeds 80 columns #83: FILE: tools/testing/selftests/bpf/benchs/bench_dynptr_slice.c:16: + fprintf(stderr, "bpf dynptr_slice benchmark doesn't support consumer!\n"); CHECK: Please don't use multiple blank lines #115: FILE: tools/testing/selftests/bpf/benchs/bench_dynptr_slice.c:48: + + WARNING: Missing a blank line after declarations #124: FILE: tools/testing/selftests/bpf/benchs/bench_dynptr_slice.c:57: + static const char data_in[1000]; + LIBBPF_OPTS(bpf_test_run_opts, opts, CHECK: Alignment should match open parenthesis #125: FILE: tools/testing/selftests/bpf/benchs/bench_dynptr_slice.c:58: + LIBBPF_OPTS(bpf_test_run_opts, opts, + .repeat = 64, ERROR: open brace '{' following function definitions go on the next line #169: FILE: tools/testing/selftests/bpf/progs/dynptr_slice_bench.c:20: +__pragma_loop_unroll_full + for (i = 0; i < N; ++i) { WARNING: braces {} are not necessary for single statement blocks #170: FILE: tools/testing/selftests/bpf/progs/dynptr_slice_bench.c:21: + for (i = 0; i < N; ++i) { + bpf_dynptr_slice(&psrc, i, NULL, 1); + } total: 1 errors, 5 warnings, 2 checks, 133 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 5a020d102287 ("selftests/bpf: dynptr_slice benchmark") 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.