WARNING: line length of 84 exceeds 80 columns #158: FILE: tools/testing/selftests/bpf/prog_tests/refcounted_kptr_file.c:115: + err = setxattr(shell_copy, xattr_name, xattr_value, sizeof(xattr_value), 0); WARNING: line length of 81 exceeds 80 columns #227: FILE: tools/testing/selftests/bpf/prog_tests/refcounted_kptr_file.c:184: + * file_open hook can filter on it from the very first file opened during WARNING: line length of 82 exceeds 80 columns #248: FILE: tools/testing/selftests/bpf/prog_tests/refcounted_kptr_file.c:205: + * The child is gone at this point. Reopening an unrelated file triggers a WARNING: line length of 81 exceeds 80 columns #249: FILE: tools/testing/selftests/bpf/prog_tests/refcounted_kptr_file.c:206: + * second file_open hook where the BPF program validates the stashed ref. WARNING: line length of 81 exceeds 80 columns #250: FILE: tools/testing/selftests/bpf/prog_tests/refcounted_kptr_file.c:207: + * Our test op for the ref validity is reading the xattrs we set earlier. WARNING: line length of 85 exceeds 80 columns #345: FILE: tools/testing/selftests/bpf/progs/refcounted_kptr_file.c:47: + if ((__u32)(bpf_get_current_pid_tgid() >> 32) != (__u32)file_kptr_insert_pid) WARNING: line length of 81 exceeds 80 columns #366: FILE: tools/testing/selftests/bpf/progs/refcounted_kptr_file.c:68: + * Only stash the child's final executable, which we identify by the test WARNING: line length of 85 exceeds 80 columns #407: FILE: tools/testing/selftests/bpf/progs/refcounted_kptr_file.c:109: + if ((__u32)(bpf_get_current_pid_tgid() >> 32) != (__u32)file_kptr_verify_pid) WARNING: line length of 81 exceeds 80 columns #420: FILE: tools/testing/selftests/bpf/progs/refcounted_kptr_file.c:122: + * Pull the file out of the map to get a referenced pointer for the xattr WARNING: line length of 82 exceeds 80 columns #421: FILE: tools/testing/selftests/bpf/progs/refcounted_kptr_file.c:123: + * kfunc and to drop the map's last reference once verification completes. WARNING: line length of 83 exceeds 80 columns #445: FILE: tools/testing/selftests/bpf/progs/refcounted_kptr_file.c:147: + if (bpf_strncmp(file_kptr_value, sizeof(expected_value), expected_value)) { WARNING: line length of 81 exceeds 80 columns #493: FILE: tools/testing/selftests/bpf/progs/refcounted_kptr_file_fail.c:31: + /* ctx_file is just the hook argument, not an acquired file reference. */ total: 0 errors, 12 warnings, 0 checks, 609 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 2142a1ebc0b8 ("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. total: 0 errors, 12 warnings, 0 checks, 609 lines checked