CHECK: extern prototypes should be avoided in .h files #44: 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 #50: 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 #60: 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? #86: new file mode 100644 WARNING: line length of 100 exceeds 80 columns #120: 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 90 exceeds 80 columns #172: FILE: tools/testing/selftests/bpf/progs/verifier_vfs_reject.c:82: +__failure __msg("program must be sleepable to call sleepable kfunc bpf_get_task_exe_file") WARNING: line length of 81 exceeds 80 columns #236: FILE: tools/testing/selftests/bpf/progs/verifier_vfs_reject.c:146: +int BPF_PROG(path_d_path_kfunc_untrusted_from_argument, struct task_struct *task) WARNING: line length of 125 exceeds 80 columns #265: FILE: tools/testing/selftests/bpf/progs/verifier_vfs_reject.c:175: +__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, 5 warnings, 3 checks, 242 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 5e1a0adcd17d ("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, 5 warnings, 3 checks, 242 lines checked