WARNING: line length of 98 exceeds 80 columns #39: FILE: tools/testing/selftests/bpf/bpf_experimental.h:593: +extern int bpf_iter_task_file_new(struct bpf_iter_task_file *it, struct task_struct *task) __ksym; CHECK: extern prototypes should be avoided in .h files #39: FILE: tools/testing/selftests/bpf/bpf_experimental.h:593: +extern int bpf_iter_task_file_new(struct bpf_iter_task_file *it, struct task_struct *task) __ksym; CHECK: extern prototypes should be avoided in .h files #42: FILE: tools/testing/selftests/bpf/bpf_experimental.h:596: +extern void bpf_iter_task_file_destroy(struct bpf_iter_task_file *it) __ksym; WARNING: line length of 86 exceeds 80 columns #127: FILE: tools/testing/selftests/bpf/prog_tests/iters.c:349: + prog = bpf_object__find_program_by_name(skel->obj, "test_bpf_iter_task_file"); WARNING: line length of 97 exceeds 80 columns #146: FILE: tools/testing/selftests/bpf/prog_tests/iters.c:368: + child_pid = clone(task_file_test_process, stack + stack_size, CLONE_VM | SIGCHLD, &args); WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #187: new file mode 100644 CHECK: Comparison to NULL could be written "!task" #213: FILE: tools/testing/selftests/bpf/progs/iters_task_file.c:22: + if (task == NULL) { CHECK: Comparison to NULL could be written "!item" #222: FILE: tools/testing/selftests/bpf/progs/iters_task_file.c:31: + if (item == NULL) { CHECK: Comparison to NULL could be written "!item" #233: FILE: tools/testing/selftests/bpf/progs/iters_task_file.c:42: + if (item == NULL) { CHECK: Comparison to NULL could be written "!item" #244: FILE: tools/testing/selftests/bpf/progs/iters_task_file.c:53: + if (item == NULL) { CHECK: Comparison to NULL could be written "item" #255: FILE: tools/testing/selftests/bpf/progs/iters_task_file.c:64: + if (item != NULL) total: 0 errors, 4 warnings, 7 checks, 329 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 22989d22867c ("selftests/bpf: Add tests for open-coded style process file iterator") 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, 7 checks, 329 lines checked