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

CHECK: Comparison to NULL could be written "!task"
#178: FILE: tools/testing/selftests/bpf/progs/test_fget_task.c:21:
+	if (task == NULL) {

CHECK: Comparison to NULL could be written "!file"
#184: FILE: tools/testing/selftests/bpf/progs/test_fget_task.c:27:
+	if (file == NULL) {

CHECK: Comparison to NULL could be written "!file"
#192: FILE: tools/testing/selftests/bpf/progs/test_fget_task.c:35:
+	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) {

total: 0 errors, 4 warnings, 5 checks, 158 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 d5b27ac72db6 ("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, 4 warnings, 5 checks, 158 lines checked