CHECK: extern prototypes should be avoided in .h files #46: FILE: tools/testing/selftests/bpf/bpf_experimental.h:206: +extern struct file *bpf_get_task_exe_file(struct task_struct *task) __ksym; CHECK: extern prototypes should be avoided in .h files #52: FILE: tools/testing/selftests/bpf/bpf_experimental.h:212: +extern void bpf_put_file(struct file *file) __ksym; CHECK: extern prototypes should be avoided in .h files #62: FILE: tools/testing/selftests/bpf/bpf_experimental.h:222: +extern int bpf_path_d_path(struct path *path, char *buf, size_t buf__sz) __ksym; WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #88: new file mode 100644 WARNING: line length of 100 exceeds 80 columns #122: FILE: tools/testing/selftests/bpf/progs/verifier_vfs_reject.c:30: +__failure __msg("arg#0 pointer type STRUCT task_struct must point to scalar, or struct with scalar") WARNING: line length of 81 exceeds 80 columns #193: FILE: tools/testing/selftests/bpf/progs/verifier_vfs_reject.c:101: +int BPF_PROG(path_d_path_kfunc_untrusted_from_argument, struct task_struct *task) WARNING: line length of 125 exceeds 80 columns #222: FILE: tools/testing/selftests/bpf/progs/verifier_vfs_reject.c:130: +__failure __msg("kernel function bpf_path_d_path args#0 expected pointer to STRUCT path but R1 has a pointer to STRUCT file") total: 0 errors, 4 warnings, 3 checks, 207 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 71781a47fa2d ("selftests/bpf: add negative tests for new VFS based BPF kfuncs") 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. total: 0 errors, 4 warnings, 3 checks, 207 lines checked