WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #32: new file mode 100644 WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 #37: FILE: tools/testing/selftests/bpf/prog_tests/test_struct_ops_kptr_return.c:1: +#include WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 #59: FILE: tools/testing/selftests/bpf/progs/struct_ops_kptr_return.c:1: +#include WARNING: line length of 83 exceeds 80 columns #68: FILE: tools/testing/selftests/bpf/progs/struct_ops_kptr_return.c:10: +/* This test struct_ops BPF programs returning referenced kptr. The verifier should WARNING: line length of 86 exceeds 80 columns #69: FILE: tools/testing/selftests/bpf/progs/struct_ops_kptr_return.c:11: + * allow a referenced kptr or a NULL pointer to be returned. A referenced kptr to task CHECK: Please don't use multiple blank lines #88: FILE: tools/testing/selftests/bpf/progs/struct_ops_kptr_return.c:30: + + WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 #95: FILE: tools/testing/selftests/bpf/progs/struct_ops_kptr_return_fail__invalid_scalar.c:1: +#include WARNING: line length of 83 exceeds 80 columns #105: FILE: tools/testing/selftests/bpf/progs/struct_ops_kptr_return_fail__invalid_scalar.c:11: +/* This test struct_ops BPF programs returning referenced kptr. The verifier should WARNING: line length of 95 exceeds 80 columns #109: FILE: tools/testing/selftests/bpf/progs/struct_ops_kptr_return_fail__invalid_scalar.c:15: +__failure __msg("At program exit the register R0 has smin=1 smax=1 should have been in [0, 0]") WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 #127: FILE: tools/testing/selftests/bpf/progs/struct_ops_kptr_return_fail__local_kptr.c:1: +#include WARNING: line length of 83 exceeds 80 columns #138: FILE: tools/testing/selftests/bpf/progs/struct_ops_kptr_return_fail__local_kptr.c:12: +/* This test struct_ops BPF programs returning referenced kptr. The verifier should WARNING: line length of 86 exceeds 80 columns #142: FILE: tools/testing/selftests/bpf/progs/struct_ops_kptr_return_fail__local_kptr.c:16: +__failure __msg("At program exit the register R0 is not a known value (ptr_or_null_)") WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 #167: FILE: tools/testing/selftests/bpf/progs/struct_ops_kptr_return_fail__nonzero_offset.c:1: +#include WARNING: line length of 83 exceeds 80 columns #177: FILE: tools/testing/selftests/bpf/progs/struct_ops_kptr_return_fail__nonzero_offset.c:11: +/* This test struct_ops BPF programs returning referenced kptr. The verifier should WARNING: line length of 88 exceeds 80 columns #181: FILE: tools/testing/selftests/bpf/progs/struct_ops_kptr_return_fail__nonzero_offset.c:15: +__failure __msg("dereference of modified trusted_ptr_ ptr R0 off={{[0-9]+}} disallowed") WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 #198: FILE: tools/testing/selftests/bpf/progs/struct_ops_kptr_return_fail__wrong_type.c:1: +#include WARNING: line length of 83 exceeds 80 columns #208: FILE: tools/testing/selftests/bpf/progs/struct_ops_kptr_return_fail__wrong_type.c:11: +/* This test struct_ops BPF programs returning referenced kptr. The verifier should WARNING: line length of 86 exceeds 80 columns #212: FILE: tools/testing/selftests/bpf/progs/struct_ops_kptr_return_fail__wrong_type.c:15: +__failure __msg("At program exit the register R0 is not a known value (ptr_or_null_)") WARNING: line length of 88 exceeds 80 columns #269: FILE: tools/testing/selftests/bpf/test_kmods/bpf_testmod.h:43: + struct task_struct *(*test_return_ref_kptr)(int dummy, struct task_struct *task, total: 0 errors, 18 warnings, 1 checks, 196 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 1c844c98b43d ("selftests/bpf: Test returning referenced kptr from struct_ops programs") 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, 18 warnings, 1 checks, 196 lines checked