WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #32: new file mode 100644 WARNING: line length of 91 exceeds 80 columns #48: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:12: + return bpf_map_create(map_type, map_name, key_size, value_size, max_entries, NULL); WARNING: line length of 95 exceeds 80 columns #51: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:15: +static int prog_load(struct bpf_insn *insns, __u32 insn_cnt, int *fd_array, __u32 fd_array_cnt) WARNING: line length of 85 exceeds 80 columns #58: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:22: + return bpf_prog_load(BPF_PROG_TYPE_XDP, NULL, "GPL", insns, insn_cnt, &opts); WARNING: line length of 99 exceeds 80 columns #86: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:50: + if (!ASSERT_EQ(bpf_map_update_elem(map_fd, &i, &val, 0), 0, "bpf_map_update_elem")) WARNING: line length of 96 exceeds 80 columns #98: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:62: + if (!ASSERT_EQ(bpf_map_lookup_elem(map_fd, &i, &val), 0, "bpf_map_lookup_elem")) WARNING: line length of 93 exceeds 80 columns #132: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:96: + if (!ASSERT_EQ(bpf_map_update_elem(map_fd, &key, &val, 0), 0, "bpf_map_update_elem")) WARNING: line length of 101 exceeds 80 columns #140: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:104: + if (!ASSERT_EQ(prog_fd, -EINVAL, "program should have been rejected (prog_fd != -EINVAL)")) { WARNING: line length of 93 exceeds 80 columns #168: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:132: + if (!ASSERT_EQ(bpf_map_update_elem(map_fd, &key, &val, 0), 0, "bpf_map_update_elem")) WARNING: line length of 101 exceeds 80 columns #176: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:140: + if (!ASSERT_EQ(prog_fd, -EINVAL, "program should have been rejected (prog_fd != -EINVAL)")) { WARNING: line length of 96 exceeds 80 columns #231: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:195: + if (!ASSERT_EQ(bpf_map_lookup_elem(map_fd, &i, &val), 0, "bpf_map_lookup_elem")) WARNING: line length of 88 exceeds 80 columns #234: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:198: + ASSERT_EQ(val.xlated_off, map_out[i], "val should be equal map_out[i]"); WARNING: line length of 96 exceeds 80 columns #282: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:246: + if (!ASSERT_EQ(bpf_map_lookup_elem(map_fd, &i, &val), 0, "bpf_map_lookup_elem")) WARNING: line length of 88 exceeds 80 columns #285: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:249: + ASSERT_EQ(val.xlated_off, map_out[i], "val should be equal map_out[i]"); WARNING: line length of 96 exceeds 80 columns #333: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:297: + if (!ASSERT_EQ(bpf_map_lookup_elem(map_fd, &i, &val), 0, "bpf_map_lookup_elem")) WARNING: line length of 88 exceeds 80 columns #336: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:300: + ASSERT_EQ(val.xlated_off, map_out[i], "val should be equal map_out[i]"); WARNING: line length of 99 exceeds 80 columns #361: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:325: + if (!ASSERT_EQ(bpf_map_update_elem(map_fd, &i, &val, 0), 0, "bpf_map_update_elem")) WARNING: line length of 99 exceeds 80 columns #367: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:331: + if (!ASSERT_EQ(prog_fd, -EINVAL, "program should have been rejected (prog_fd != -EINVAL)")) WARNING: line length of 96 exceeds 80 columns #380: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:344: + if (!ASSERT_EQ(bpf_map_lookup_elem(map_fd, &i, &val), 0, "bpf_map_lookup_elem")) WARNING: line length of 99 exceeds 80 columns #408: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:372: + if (!ASSERT_EQ(bpf_map_update_elem(map_fd, &i, &val, 0), 0, "bpf_map_update_elem")) WARNING: line length of 96 exceeds 80 columns #420: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:384: + if (!ASSERT_EQ(bpf_map_lookup_elem(map_fd, &i, &val), 0, "bpf_map_lookup_elem")) WARNING: line length of 99 exceeds 80 columns #428: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:392: + if (!ASSERT_EQ(extra_fd, -EBUSY, "program should have been rejected (extra_fd != -EBUSY)")) WARNING: line length of 84 exceeds 80 columns #449: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:413: + BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, BPF_FUNC_map_lookup_elem), WARNING: line length of 99 exceeds 80 columns #466: FILE: tools/testing/selftests/bpf/prog_tests/bpf_insn_set.c:430: + if (!ASSERT_EQ(prog_fd, -EINVAL, "program should have been rejected (prog_fd != -EINVAL)")) total: 0 errors, 24 warnings, 0 checks, 481 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 3968fe5a9c6e ("selftests/bpf: add selftests for new insn_set map") 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, 24 warnings, 0 checks, 481 lines checked