WARNING: line length of 83 exceeds 80 columns #54: FILE: tools/testing/selftests/bpf/bpf_experimental.h:224: +extern struct path *bpf_kern_path(const char *pathname, unsigned int flags) __ksym; CHECK: extern prototypes should be avoided in .h files #54: FILE: tools/testing/selftests/bpf/bpf_experimental.h:224: +extern struct path *bpf_kern_path(const char *pathname, unsigned int flags) __ksym; CHECK: extern prototypes should be avoided in .h files #55: FILE: tools/testing/selftests/bpf/bpf_experimental.h:225: +extern void bpf_path_put(struct path *path) __ksym; WARNING: line length of 86 exceeds 80 columns #56: FILE: tools/testing/selftests/bpf/bpf_experimental.h:226: +extern int bpf_path_d_path(const struct path *path, char *buf, size_t buf__sz) __ksym; CHECK: extern prototypes should be avoided in .h files #56: FILE: tools/testing/selftests/bpf/bpf_experimental.h:226: +extern int bpf_path_d_path(const struct path *path, char *buf, size_t buf__sz) __ksym; WARNING: line length of 89 exceeds 80 columns #190: FILE: tools/testing/selftests/bpf/progs/test_kern_path.c:36: +int BPF_PROG(test_kern_path_from_sb_mount, const char *dev_name, const struct path *path, WARNING: line length of 87 exceeds 80 columns #301: FILE: tools/testing/selftests/bpf/progs/verifier_kern_path_fail.c:27: +__failure __msg("pointer type STRUCT path must point to scalar, or struct with scalar") WARNING: line length of 87 exceeds 80 columns #312: FILE: tools/testing/selftests/bpf/progs/verifier_kern_path_fail.c:38: +__failure __msg("pointer type STRUCT path must point to scalar, or struct with scalar") WARNING: line length of 87 exceeds 80 columns #329: FILE: tools/testing/selftests/bpf/progs/verifier_kern_path_fail.c:55: +__failure __msg("pointer type STRUCT path must point to scalar, or struct with scalar") WARNING: line length of 82 exceeds 80 columns #363: FILE: tools/testing/selftests/bpf/progs/verifier_kern_path_fail.c:89: + /* Calling bpf_kern_path() from a with non-const string isn't permitted */ CHECK: Please don't use multiple blank lines #370: FILE: tools/testing/selftests/bpf/progs/verifier_kern_path_fail.c:96: + + total: 0 errors, 7 warnings, 4 checks, 297 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 82c74d91ae1f ("selftests/bpf: Add tests for bpf_kern_path kfunc") 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, 7 warnings, 4 checks, 297 lines checked