WARNING: externs should be avoided in .c files #85: FILE: tools/testing/selftests/bpf/bench.c:287: +extern struct argp bench_lpm_trie_map_argp; WARNING: externs should be avoided in .c files #101: FILE: tools/testing/selftests/bpf/bench.c:563: +extern const struct bench bench_lpm_trie_lookup; WARNING: externs should be avoided in .c files #102: FILE: tools/testing/selftests/bpf/bench.c:564: +extern const struct bench bench_lpm_trie_update; WARNING: externs should be avoided in .c files #103: FILE: tools/testing/selftests/bpf/bench.c:565: +extern const struct bench bench_lpm_trie_delete; WARNING: externs should be avoided in .c files #104: FILE: tools/testing/selftests/bpf/bench.c:566: +extern const struct bench bench_lpm_trie_free; WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #132: new file mode 100644 ERROR: space prohibited before that close parenthesis ')' #336: FILE: tools/testing/selftests/bpf/benchs/bench_lpm_trie_map.c:200: + .data_size_in = sizeof(in), .repeat = 1, ); WARNING: Missing a blank line after declarations #340: FILE: tools/testing/selftests/bpf/benchs/bench_lpm_trie_map.c:204: + int fd = bpf_program__fd(ctx.bench->progs.run_bench); + err = bpf_prog_test_run_opts(fd, &opts); WARNING: line length of 89 exceeds 80 columns #424: FILE: tools/testing/selftests/bpf/benchs/bench_lpm_trie_map.c:288: + printf("Summary: throughput %8.3lf \u00B1 %5.3lf %c ops/s (%7.3lf%c ops/prod), ", WARNING: space prohibited between function name and open parenthesis '(' #593: FILE: tools/testing/selftests/bpf/progs/lpm_trie_bench.c:114: +static int delete (__u32 index, bool *need_refill) WARNING: Improper SPDX comment style for 'tools/testing/selftests/bpf/progs/lpm_trie_map.c', please use '//' instead #657: FILE: tools/testing/selftests/bpf/progs/lpm_trie_map.c:1: +/* SPDX-License-Identifier: GPL-2.0-or-later */ WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 #657: FILE: tools/testing/selftests/bpf/progs/lpm_trie_map.c:1: +/* SPDX-License-Identifier: GPL-2.0-or-later */ total: 1 errors, 11 warnings, 0 checks, 582 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 d3460d69a33f ("selftests/bpf: Add LPM trie microbenchmarks") 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.