WARNING: line length of 99 exceeds 80 columns #96: FILE: tools/testing/selftests/bpf/prog_tests/sk_bypass_prot_mem.c:19: + long (*get_memory_allocated)(struct test_case *test_case, struct sk_bypass_prot_mem *skel); WARNING: line length of 85 exceeds 80 columns #132: FILE: tools/testing/selftests/bpf/prog_tests/sk_bypass_prot_mem.c:55: + sk[i] = start_server(test_case->family, test_case->type, NULL, 0, 0); WARNING: line length of 97 exceeds 80 columns #151: FILE: tools/testing/selftests/bpf/prog_tests/sk_bypass_prot_mem.c:74: + err = setsockopt(sk[i + j], SOL_SOCKET, SO_RCVBUF, &rcvbuf, sizeof(int)); WARNING: line length of 98 exceeds 80 columns #182: FILE: tools/testing/selftests/bpf/prog_tests/sk_bypass_prot_mem.c:105: +static long tcp_get_memory_allocated(struct test_case *test_case, struct sk_bypass_prot_mem *skel) WARNING: line length of 98 exceeds 80 columns #189: FILE: tools/testing/selftests/bpf/prog_tests/sk_bypass_prot_mem.c:112: +static long udp_get_memory_allocated(struct test_case *test_case, struct sk_bypass_prot_mem *skel) WARNING: line length of 83 exceeds 80 columns #229: FILE: tools/testing/selftests/bpf/prog_tests/sk_bypass_prot_mem.c:152: + ASSERT_LE(memory_allocated[1], memory_allocated[0] + 10, "bypass"); WARNING: line length of 92 exceeds 80 columns #231: FILE: tools/testing/selftests/bpf/prog_tests/sk_bypass_prot_mem.c:154: + ASSERT_GT(memory_allocated[1], memory_allocated[0] + NR_PAGES, "no bypass"); WARNING: line length of 90 exceeds 80 columns #241: FILE: tools/testing/selftests/bpf/prog_tests/sk_bypass_prot_mem.c:164: + int bytes = recv(sk[i], buf, 1, MSG_DONTWAIT | MSG_TRUNC); WARNING: line length of 101 exceeds 80 columns #246: FILE: tools/testing/selftests/bpf/prog_tests/sk_bypass_prot_mem.c:169: + PRINT_FAIL("bytes: %d, errno: %s\n", bytes, strerror(errno)); WARNING: line length of 94 exceeds 80 columns #303: FILE: tools/testing/selftests/bpf/prog_tests/sk_bypass_prot_mem.c:226: + skel->links.sock_create = bpf_program__attach_cgroup(skel->progs.sock_create, cgroup); WARNING: line length of 82 exceeds 80 columns #304: FILE: tools/testing/selftests/bpf/prog_tests/sk_bypass_prot_mem.c:227: + if (!ASSERT_OK_PTR(skel->links.sock_create, "attach_cgroup(sock_create)")) WARNING: externs should be avoided in .c files #375: FILE: tools/testing/selftests/bpf/progs/sk_bypass_prot_mem.c:10: +extern int udp_memory_per_cpu_fw_alloc __ksym; WARNING: line length of 91 exceeds 80 columns #390: FILE: tools/testing/selftests/bpf/progs/sk_bypass_prot_mem.c:25: + memory_per_cpu_fw_alloc = bpf_per_cpu_ptr(sk_prot_ctx->memory_per_cpu_fw_alloc, i); WARNING: line length of 82 exceeds 80 columns #415: FILE: tools/testing/selftests/bpf/progs/sk_bypass_prot_mem.c:50: + long *memory_allocated, int *memory_per_cpu_fw_alloc) total: 0 errors, 14 warnings, 0 checks, 386 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 d744b6ed085e ("selftest: bpf: Add test for sk->sk_bypass_prot_mem.") 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, 14 warnings, 0 checks, 386 lines checked