WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #40: new file mode 100644 WARNING: line length of 101 exceeds 80 columns #79: FILE: tools/testing/selftests/bpf/prog_tests/fd_array.c:35: + .str_off = offsetof(struct btf_blob, str) - offsetof(struct btf_blob, types), WARNING: line length of 81 exceeds 80 columns #84: FILE: tools/testing/selftests/bpf/prog_tests/fd_array.c:40: + BTF_TYPE_INT_ENC(0, BTF_INT_SIGNED, 0, 64, 8), /* [1] */ WARNING: line length of 86 exceeds 80 columns #110: FILE: tools/testing/selftests/bpf/prog_tests/fd_array.c:66: +static inline int bpf_prog_get_map_ids(int prog_fd, __u32 *nr_map_ids, __u32 *map_ids) WARNING: line length of 84 exceeds 80 columns #136: FILE: tools/testing/selftests/bpf/prog_tests/fd_array.c:92: + BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_map_lookup_elem), WARNING: line length of 96 exceeds 80 columns #170: FILE: tools/testing/selftests/bpf/prog_tests/fd_array.c:126: +static bool check_expected_map_ids(int prog_fd, int expected, __u32 *map_ids, __u32 *nr_map_ids) CHECK: multiple assignments should be avoided #252: FILE: tools/testing/selftests/bpf/prog_tests/fd_array.c:208: + extra_fds[0] = extra_fds[2] = _bpf_map_create(); CHECK: multiple assignments should be avoided #255: FILE: tools/testing/selftests/bpf/prog_tests/fd_array.c:211: + extra_fds[1] = extra_fds[3] = _bpf_map_create(); WARNING: line length of 86 exceeds 80 columns #331: FILE: tools/testing/selftests/bpf/prog_tests/fd_array.c:287: + if (!ASSERT_EQ(prog_fd, -EBADF, "prog should have been rejected with -EBADF")) WARNING: line length of 88 exceeds 80 columns #340: FILE: tools/testing/selftests/bpf/prog_tests/fd_array.c:296: + if (!ASSERT_EQ(prog_fd, -EINVAL, "prog should have been rejected with -EINVAL")) WARNING: line length of 81 exceeds 80 columns #396: FILE: tools/testing/selftests/bpf/prog_tests/fd_array.c:352: + ASSERT_EQ(prog_fd, -E2BIG, "prog should have been rejected with -E2BIG"); total: 0 errors, 9 warnings, 2 checks, 381 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 70f3d76a5e26 ("selftests/bpf: Add tests for fd_array_cnt") 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, 9 warnings, 2 checks, 381 lines checked