WARNING: const array should probably be static const #36: FILE: tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c:518: + const char send_msg[] = "MISC!!!"; WARNING: line length of 84 exceeds 80 columns #45: FILE: tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c:527: + link = bpf_program__attach_cgroup(misc_skel->progs.misc_hdr_sockopt, cg_fd); WARNING: line length of 94 exceeds 80 columns #54: FILE: tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c:536: + ret = setsockopt(sk_fds.active_fd, SOL_TCP, TCP_NODELAY, &true_val, sizeof(true_val)); WARNING: line length of 95 exceeds 80 columns #58: FILE: tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c:540: + ret = setsockopt(sk_fds.passive_fd, SOL_TCP, TCP_NODELAY, &true_val, sizeof(true_val)); WARNING: line length of 84 exceeds 80 columns #72: FILE: tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c:554: + ASSERT_NEQ(misc_skel->bss->nr_hdr_sockopt_estab, 0, "nr_hdr_sockopt_estab"); WARNING: line length of 91 exceeds 80 columns #73: FILE: tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c:555: + ASSERT_EQ(misc_skel->bss->nr_hdr_sockopt_estab_err, 0, "nr_hdr_sockopt_estab_err"); WARNING: line length of 87 exceeds 80 columns #76: FILE: tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c:558: + ASSERT_EQ(misc_skel->bss->nr_hdr_sockopt_len_err, 0, "nr_hdr_sockopt_len_err"); WARNING: line length of 84 exceeds 80 columns #78: FILE: tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c:560: + ASSERT_NEQ(misc_skel->bss->nr_hdr_sockopt_write, 0, "nr_hdr_sockopt_write"); WARNING: line length of 91 exceeds 80 columns #79: FILE: tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c:561: + ASSERT_EQ(misc_skel->bss->nr_hdr_sockopt_write_err, 0, "nr_hdr_sockopt_write_err"); WARNING: line length of 95 exceeds 80 columns #130: FILE: tools/testing/selftests/bpf/progs/test_misc_tcp_hdr_options.c:346: + ret = bpf_setsockopt(skops, SOL_TCP, TCP_NODELAY, &true_val, sizeof(true_val)); WARNING: line length of 95 exceeds 80 columns #136: FILE: tools/testing/selftests/bpf/progs/test_misc_tcp_hdr_options.c:352: + ret = bpf_setsockopt(skops, SOL_TCP, TCP_NODELAY, &true_val, sizeof(true_val)); WARNING: line length of 95 exceeds 80 columns #144: FILE: tools/testing/selftests/bpf/progs/test_misc_tcp_hdr_options.c:360: + ret = bpf_setsockopt(skops, SOL_TCP, TCP_NODELAY, &true_val, sizeof(true_val)); total: 0 errors, 12 warnings, 0 checks, 116 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 bd914a746b54 ("selftests/bpf: Test TCP_NODELAY in TCP hdr opt callbacks") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES 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, 12 warnings, 0 checks, 116 lines checked