WARNING: line length of 97 exceeds 80 columns #31: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:804: +#define access_test_non_linear(name, type, desc, retval, linear_sz, off) \ WARNING: Argument 'off' is not used in function-like macro #31: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:804: +#define access_test_non_linear(name, type, desc, retval, linear_sz, off) \ + SEC(type) \ + __description("direct packet access: " #name " (non-linear, " type ", " desc ")") \ + __success __retval(retval) \ + __linear_size(linear_sz) \ + __naked void access_non_linear_##name(void) \ + { \ + asm volatile (" \ WARNING: line length of 97 exceeds 80 columns #32: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:805: + SEC(type) \ WARNING: line length of 97 exceeds 80 columns #33: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:806: + __description("direct packet access: " #name " (non-linear, " type ", " desc ")") \ WARNING: line length of 97 exceeds 80 columns #34: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:807: + __success __retval(retval) \ WARNING: line length of 97 exceeds 80 columns #35: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:808: + __linear_size(linear_sz) \ WARNING: line length of 97 exceeds 80 columns #36: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:809: + __naked void access_non_linear_##name(void) \ WARNING: line length of 97 exceeds 80 columns #37: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:810: + { \ WARNING: line length of 97 exceeds 80 columns #38: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:811: + asm volatile (" \ WARNING: Avoid line continuations in quoted strings #38: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:811: + asm volatile (" \ WARNING: line length of 97 exceeds 80 columns #39: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:812: + r2 = *(u32*)(r1 + %[skb_data]); \ WARNING: line length of 97 exceeds 80 columns #40: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:813: + r3 = *(u32*)(r1 + %[skb_data_end]); \ WARNING: line length of 97 exceeds 80 columns #41: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:814: + r0 = r2; \ WARNING: line length of 97 exceeds 80 columns #42: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:815: + r0 += %[offset]; \ WARNING: line length of 97 exceeds 80 columns #43: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:816: + if r0 > r3 goto l0_%=; \ WARNING: line length of 97 exceeds 80 columns #44: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:817: + r0 = *(u8*)(r0 - 1); \ WARNING: line length of 97 exceeds 80 columns #45: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:818: + r0 = 0; \ WARNING: line length of 97 exceeds 80 columns #46: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:819: + exit; \ WARNING: line length of 97 exceeds 80 columns #47: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:820: + l0_%=: r0 = 1; \ WARNING: line length of 97 exceeds 80 columns #48: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:821: + exit; \ WARNING: line length of 97 exceeds 80 columns #49: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:822: + " : \ WARNING: Avoid unnecessary line continuations #49: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:822: + " : \ WARNING: Avoid line continuations in quoted strings #49: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:822: + " : \ WARNING: line length of 97 exceeds 80 columns #50: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:823: + : __imm_const(skb_data, offsetof(struct __sk_buff, data)), \ WARNING: line length of 97 exceeds 80 columns #51: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:824: + __imm_const(skb_data_end, offsetof(struct __sk_buff, data_end)), \ WARNING: line length of 97 exceeds 80 columns #52: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:825: + __imm_const(offset, off) \ WARNING: line length of 97 exceeds 80 columns #53: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:826: + : __clobber_all); \ WARNING: line length of 86 exceeds 80 columns #59: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:832: +access_test_non_linear(test34, "cgroup_skb/ingress", "too short eth", 1, ETH_HLEN, 8); WARNING: Avoid line continuations in quoted strings #69: FILE: tools/testing/selftests/bpf/progs/verifier_direct_packet_access.c:842: + asm volatile (" \ total: 0 errors, 29 warnings, 0 checks, 62 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 ad9f836bd93e ("selftests/bpf: Test direct packet access on non-linear skbs") 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, 29 warnings, 0 checks, 62 lines checked