CHECK: extern prototypes should be avoided in .h files #30: FILE: tools/testing/selftests/bpf/bpf_experimental.h:597: +extern __u64 bpf_clz64(__u64 x) __weak __ksym; CHECK: extern prototypes should be avoided in .h files #31: FILE: tools/testing/selftests/bpf/bpf_experimental.h:598: +extern __u64 bpf_ctz64(__u64 x) __weak __ksym; CHECK: extern prototypes should be avoided in .h files #32: FILE: tools/testing/selftests/bpf/bpf_experimental.h:599: +extern __u64 bpf_ffs64(__u64 x) __weak __ksym; CHECK: extern prototypes should be avoided in .h files #33: FILE: tools/testing/selftests/bpf/bpf_experimental.h:600: +extern __u64 bpf_fls64(__u64 x) __weak __ksym; CHECK: extern prototypes should be avoided in .h files #34: FILE: tools/testing/selftests/bpf/bpf_experimental.h:601: +extern __u64 bpf_bitrev64(__u64 x) __weak __ksym; CHECK: extern prototypes should be avoided in .h files #35: FILE: tools/testing/selftests/bpf/bpf_experimental.h:602: +extern __u64 bpf_popcnt64(__u64 x) __weak __ksym; CHECK: extern prototypes should be avoided in .h files #36: FILE: tools/testing/selftests/bpf/bpf_experimental.h:603: +extern __u64 bpf_rol64(__u64 x, __u64 s) __weak __ksym; CHECK: extern prototypes should be avoided in .h files #37: FILE: tools/testing/selftests/bpf/bpf_experimental.h:604: +extern __u64 bpf_ror64(__u64 x, __u64 s) __weak __ksym; WARNING: Missing a blank line after declarations #131: FILE: tools/testing/selftests/bpf/prog_tests/bitops.c:84: + int err; + LIBBPF_OPTS(bpf_test_run_opts, topts); total: 0 errors, 1 warnings, 8 checks, 265 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 9cb29c5557a1 ("selftests/bpf: Add tests for 64-bit bitops kfuncs") 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, 1 warnings, 8 checks, 265 lines checked