WARNING: line length of 116 exceeds 80 columns #152: FILE: tools/testing/selftests/bpf/prog_tests/prog_tests_framework.c:175: + ASSERT_HAS_SUBSTR(env.subtest_state->log_buf, cases[i].expected, "expected output"); WARNING: line length of 99 exceeds 80 columns #154: FILE: tools/testing/selftests/bpf/prog_tests/prog_tests_framework.c:177: + ASSERT_STREQ(env.subtest_state->log_buf, "", "expected no output"); WARNING: line length of 119 exceeds 80 columns #182: FILE: tools/testing/selftests/bpf/progs/bpf_misc.h:131: +#define __not_msg(msg) __attribute__((btf_decl_tag("comment:test_expect_not_msg=" XSTR(__COUNTER__) "=" msg))) WARNING: line length of 126 exceeds 80 columns #189: FILE: tools/testing/selftests/bpf/progs/bpf_misc.h:138: +#define __not_msg_unpriv(msg) __attribute__((btf_decl_tag("comment:test_expect_not_msg_unpriv=" XSTR(__COUNTER__) "=" msg))) WARNING: line length of 84 exceeds 80 columns #260: FILE: tools/testing/selftests/bpf/test_loader.c:244: + err = __push_msg(msg->substr, msg->on_next_line, msg->negative, to); WARNING: line length of 82 exceeds 80 columns #268: FILE: tools/testing/selftests/bpf/test_loader.c:251: +static int push_msg(const char *substr, bool negative, struct expected_msgs *msgs) WARNING: line length of 86 exceeds 80 columns #293: FILE: tools/testing/selftests/bpf/test_loader.c:480: + } else if ((msg = skip_dynamic_pfx(s, TEST_TAG_EXPECT_NOT_MSG_PFX))) { ERROR: do not use assignment in if condition #293: FILE: tools/testing/selftests/bpf/test_loader.c:480: + } else if ((msg = skip_dynamic_pfx(s, TEST_TAG_EXPECT_NOT_MSG_PFX))) { WARNING: line length of 93 exceeds 80 columns #304: FILE: tools/testing/selftests/bpf/test_loader.c:490: + } else if ((msg = skip_dynamic_pfx(s, TEST_TAG_EXPECT_NOT_MSG_PFX_UNPRIV))) { ERROR: do not use assignment in if condition #304: FILE: tools/testing/selftests/bpf/test_loader.c:490: + } else if ((msg = skip_dynamic_pfx(s, TEST_TAG_EXPECT_NOT_MSG_PFX_UNPRIV))) { WARNING: line length of 99 exceeds 80 columns #360: FILE: tools/testing/selftests/bpf/test_loader.c:809: +static void match_positive_msgs(const char *log, struct expected_msgs *msgs, struct match *matches) WARNING: line length of 99 exceeds 80 columns #392: FILE: tools/testing/selftests/bpf/test_loader.c:839: +static void match_negative_msgs(const char *log, struct expected_msgs *msgs, struct match *matches) WARNING: line length of 89 exceeds 80 columns #421: FILE: tools/testing/selftests/bpf/test_loader.c:856: + for (next_positive = i + 1; next_positive < msgs->cnt; next_positive++) { total: 2 errors, 11 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 e46d4cc2d0a8 ("selftests/bpf: __not_msg() tag for test_loader framework") 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.