WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #40: new file mode 100644 WARNING: line length of 101 exceeds 80 columns #80: FILE: tools/testing/selftests/bpf/prog_tests/fd_array.c:36: + .str_off = offsetof(struct btf_blob, str) - offsetof(struct btf_blob, types), WARNING: line length of 81 exceeds 80 columns #85: FILE: tools/testing/selftests/bpf/prog_tests/fd_array.c:41: + BTF_TYPE_INT_ENC(0, BTF_INT_SIGNED, 0, 64, 8), /* [1] */ WARNING: line length of 86 exceeds 80 columns #106: FILE: tools/testing/selftests/bpf/prog_tests/fd_array.c:62: +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 #132: FILE: tools/testing/selftests/bpf/prog_tests/fd_array.c:88: + BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_map_lookup_elem), WARNING: line length of 94 exceeds 80 columns #141: FILE: tools/testing/selftests/bpf/prog_tests/fd_array.c:97: + return bpf_prog_load(BPF_PROG_TYPE_XDP, NULL, "GPL", insns, ARRAY_SIZE(insns), &opts); WARNING: line length of 96 exceeds 80 columns #162: FILE: tools/testing/selftests/bpf/prog_tests/fd_array.c:118: +static bool check_expected_map_ids(int prog_fd, int expected, __u32 *map_ids, __u32 *nr_map_ids) CHECK: multiple assignments should be avoided #244: FILE: tools/testing/selftests/bpf/prog_tests/fd_array.c:200: + extra_fds[0] = extra_fds[2] = new_map(); CHECK: multiple assignments should be avoided #247: FILE: tools/testing/selftests/bpf/prog_tests/fd_array.c:203: + extra_fds[1] = extra_fds[3] = new_map(); WARNING: line length of 86 exceeds 80 columns #323: FILE: tools/testing/selftests/bpf/prog_tests/fd_array.c:279: + if (!ASSERT_EQ(prog_fd, -EBADF, "prog should have been rejected with -EBADF")) WARNING: line length of 88 exceeds 80 columns #332: FILE: tools/testing/selftests/bpf/prog_tests/fd_array.c:288: + if (!ASSERT_EQ(prog_fd, -EINVAL, "prog should have been rejected with -EINVAL")) WARNING: line length of 81 exceeds 80 columns #358: FILE: tools/testing/selftests/bpf/prog_tests/fd_array.c:314: + ASSERT_EQ(prog_fd, -E2BIG, "prog should have been rejected with -E2BIG"); total: 0 errors, 10 warnings, 2 checks, 340 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 1d3bc0c11c48 ("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, 10 warnings, 2 checks, 340 lines checked