WARNING: line length of 84 exceeds 80 columns #160: FILE: tools/testing/selftests/bpf/prog_tests/refcounted_kptr_file.c:123: + err = setxattr(shell_copy, xattr_name, xattr_value, sizeof(xattr_value), 0); WARNING: line length of 81 exceeds 80 columns #228: FILE: tools/testing/selftests/bpf/prog_tests/refcounted_kptr_file.c:191: + * file_open hook can filter on it from the very first file opened during WARNING: line length of 82 exceeds 80 columns #247: FILE: tools/testing/selftests/bpf/prog_tests/refcounted_kptr_file.c:210: + /* The child is gone at this point. Reopening an unrelated file triggers a WARNING: line length of 81 exceeds 80 columns #248: FILE: tools/testing/selftests/bpf/prog_tests/refcounted_kptr_file.c:211: + * second file_open hook where the BPF program validates the stashed ref. WARNING: line length of 81 exceeds 80 columns #249: FILE: tools/testing/selftests/bpf/prog_tests/refcounted_kptr_file.c:212: + * Our test op for the ref validity is reading the xattrs we set earlier. WARNING: line length of 85 exceeds 80 columns #333: FILE: tools/testing/selftests/bpf/progs/refcounted_kptr_file.c:44: + if ((__u32)(bpf_get_current_pid_tgid() >> 32) != (__u32)file_kptr_insert_pid) WARNING: line length of 81 exceeds 80 columns #353: FILE: tools/testing/selftests/bpf/progs/refcounted_kptr_file.c:64: + * Only stash the child's final executable, which we identify by the test WARNING: line length of 85 exceeds 80 columns #392: FILE: tools/testing/selftests/bpf/progs/refcounted_kptr_file.c:103: + if ((__u32)(bpf_get_current_pid_tgid() >> 32) != (__u32)file_kptr_verify_pid) ERROR: trailing whitespace #404: FILE: tools/testing/selftests/bpf/progs/refcounted_kptr_file.c:115: +^I/* $ WARNING: line length of 81 exceeds 80 columns #405: FILE: tools/testing/selftests/bpf/progs/refcounted_kptr_file.c:116: + * Pull the file out of the map to get a referenced pointer for the xattr WARNING: line length of 82 exceeds 80 columns #406: FILE: tools/testing/selftests/bpf/progs/refcounted_kptr_file.c:117: + * kfunc and to drop the map's last reference once verification completes. WARNING: line length of 83 exceeds 80 columns #430: FILE: tools/testing/selftests/bpf/progs/refcounted_kptr_file.c:141: + if (bpf_strncmp(file_kptr_value, sizeof(expected_value), expected_value)) { WARNING: line length of 81 exceeds 80 columns #477: FILE: tools/testing/selftests/bpf/progs/refcounted_kptr_file_fail.c:30: + /* ctx_file is just the hook argument, not an acquired file reference. */ total: 1 errors, 12 warnings, 0 checks, 433 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. NOTE: Whitespace errors detected. You may wish to use scripts/cleanpatch or scripts/cleanfile Commit 899115a411c6 ("selftests/bpf: Add test for map-stored struct file kptrs") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES 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.