WARNING: line length of 82 exceeds 80 columns #34: FILE: tools/testing/selftests/bpf/bpf_experimental.h:225: + * Get a pointer to the struct file corresponding to the task file descriptor WARNING: line length of 84 exceeds 80 columns #39: FILE: tools/testing/selftests/bpf/bpf_experimental.h:230: +extern struct file *bpf_fget_task(struct task_struct *task, unsigned int fd) __ksym; CHECK: extern prototypes should be avoided in .h files #39: FILE: tools/testing/selftests/bpf/bpf_experimental.h:230: +extern struct file *bpf_fget_task(struct task_struct *task, unsigned int fd) __ksym; WARNING: line length of 81 exceeds 80 columns #74: FILE: tools/testing/selftests/bpf/prog_tests/fs_kfuncs.c:157: + prog = bpf_object__find_program_by_name(skel->obj, "test_bpf_fget_task"); WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #114: new file mode 100644 WARNING: externs should be avoided in .c files #171: FILE: tools/testing/selftests/bpf/progs/test_fget_task.c:14: +extern const void pipefifo_fops __ksym; CHECK: Comparison to NULL could be written "!task" #180: FILE: tools/testing/selftests/bpf/progs/test_fget_task.c:23: + if (task == NULL) { CHECK: Comparison to NULL could be written "!file" #186: FILE: tools/testing/selftests/bpf/progs/test_fget_task.c:29: + if (file == NULL) { CHECK: Comparison to NULL could be written "!file" #200: FILE: tools/testing/selftests/bpf/progs/test_fget_task.c:43: + if (file == NULL) { CHECK: Comparison to NULL could be written "file" #214: FILE: tools/testing/selftests/bpf/progs/test_fget_task.c:57: + if (file != NULL) { total: 0 errors, 5 warnings, 5 checks, 172 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 d17f2d1569e4 ("selftests/bpf: Add tests for bpf_fget_task() kfunc") 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, 5 checks, 172 lines checked