CHECK: spaces preferred around that '*' (ctx:VxV) #142: FILE: tools/testing/selftests/bpf/progs/bpf_flow.c:333: + __builtin_memcpy(&keys->ipv6_src, &ip6h->saddr, 2*sizeof(ip6h->saddr)); ^ CHECK: Alignment should match open parenthesis #432: FILE: tools/testing/selftests/bpf/progs/getsockname_unix_prog.c:31: + if (__builtin_memcmp(sa_kern_unaddr->sun_path, SERVUN_REWRITE_ADDRESS, sizeof(SERVUN_REWRITE_ADDRESS) - 1) != 0) CHECK: Alignment should match open parenthesis #626: FILE: tools/testing/selftests/bpf/progs/test_cls_redirect.c:537: + __builtin_memcpy(encap->eth.h_dest, encap->eth.h_source, sizeof(encap->eth.h_dest)); WARNING: line length of 81 exceeds 80 columns #628: FILE: tools/testing/selftests/bpf/progs/test_cls_redirect.c:538: + __builtin_memcpy(encap->eth.h_source, temp, sizeof(encap->eth.h_source)); WARNING: line length of 84 exceeds 80 columns #653: FILE: tools/testing/selftests/bpf/progs/test_cls_redirect.c:802: + __builtin_memcpy(&tuple.ipv6.saddr, &ipv6->daddr, sizeof(tuple.ipv6.saddr)); WARNING: line length of 84 exceeds 80 columns #654: FILE: tools/testing/selftests/bpf/progs/test_cls_redirect.c:803: + __builtin_memcpy(&tuple.ipv6.daddr, &ipv6->saddr, sizeof(tuple.ipv6.daddr)); WARNING: line length of 81 exceeds 80 columns #693: FILE: tools/testing/selftests/bpf/progs/test_cls_redirect_dynptr.c:432: + __builtin_memcpy(encap->eth.h_source, temp, sizeof(encap->eth.h_source)); WARNING: line length of 83 exceeds 80 columns #718: FILE: tools/testing/selftests/bpf/progs/test_cls_redirect_dynptr.c:693: + __builtin_memcpy(&tuple.ipv6.saddr, &ipv6.daddr, sizeof(tuple.ipv6.saddr)); WARNING: line length of 83 exceeds 80 columns #719: FILE: tools/testing/selftests/bpf/progs/test_cls_redirect_dynptr.c:694: + __builtin_memcpy(&tuple.ipv6.daddr, &ipv6.saddr, sizeof(tuple.ipv6.daddr)); WARNING: line length of 88 exceeds 80 columns #1126: FILE: tools/testing/selftests/bpf/progs/test_xdp.c:73: + __builtin_memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source)); WARNING: line length of 81 exceeds 80 columns #1136: FILE: tools/testing/selftests/bpf/progs/test_xdp.c:172: + __builtin_memcpy(vip.daddr.v6, ip6h->daddr.s6_addr32, sizeof(vip.daddr)); WARNING: line length of 86 exceeds 80 columns #1151: FILE: tools/testing/selftests/bpf/progs/test_xdp.c:203: + __builtin_memcpy(ip6h->saddr.s6_addr32, tnl->saddr.v6, sizeof(tnl->saddr.v6)); WARNING: line length of 86 exceeds 80 columns #1152: FILE: tools/testing/selftests/bpf/progs/test_xdp.c:204: + __builtin_memcpy(ip6h->daddr.s6_addr32, tnl->daddr.v6, sizeof(tnl->daddr.v6)); WARNING: line length of 88 exceeds 80 columns #1174: FILE: tools/testing/selftests/bpf/progs/test_xdp_dynptr.c:71: + __builtin_memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source)); WARNING: line length of 81 exceeds 80 columns #1184: FILE: tools/testing/selftests/bpf/progs/test_xdp_dynptr.c:190: + __builtin_memcpy(vip.daddr.v6, ip6h->daddr.s6_addr32, sizeof(vip.daddr)); WARNING: line length of 86 exceeds 80 columns #1199: FILE: tools/testing/selftests/bpf/progs/test_xdp_dynptr.c:221: + __builtin_memcpy(ip6h->saddr.s6_addr32, tnl->saddr.v6, sizeof(tnl->saddr.v6)); WARNING: line length of 86 exceeds 80 columns #1200: FILE: tools/testing/selftests/bpf/progs/test_xdp_dynptr.c:222: + __builtin_memcpy(ip6h->daddr.s6_addr32, tnl->daddr.v6, sizeof(tnl->daddr.v6)); WARNING: line length of 88 exceeds 80 columns #1222: FILE: tools/testing/selftests/bpf/progs/test_xdp_loop.c:69: + __builtin_memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source)); WARNING: line length of 81 exceeds 80 columns #1232: FILE: tools/testing/selftests/bpf/progs/test_xdp_loop.c:168: + __builtin_memcpy(vip.daddr.v6, ip6h->daddr.s6_addr32, sizeof(vip.daddr)); WARNING: line length of 86 exceeds 80 columns #1247: FILE: tools/testing/selftests/bpf/progs/test_xdp_loop.c:199: + __builtin_memcpy(ip6h->saddr.s6_addr32, tnl->saddr.v6, sizeof(tnl->saddr.v6)); WARNING: line length of 86 exceeds 80 columns #1248: FILE: tools/testing/selftests/bpf/progs/test_xdp_loop.c:200: + __builtin_memcpy(ip6h->daddr.s6_addr32, tnl->daddr.v6, sizeof(tnl->daddr.v6)); WARNING: line length of 87 exceeds 80 columns #1321: FILE: tools/testing/selftests/bpf/progs/test_xdp_noinline.c:450: + __builtin_memcpy(ip6h->saddr.in6_u.u6_addr32, ip6h->daddr.in6_u.u6_addr32, 16); WARNING: line length of 84 exceeds 80 columns #1352: FILE: tools/testing/selftests/bpf/progs/test_xdp_noinline.c:625: + __builtin_memcpy(pckt->flow.srcv6, ip6h->saddr.in6_u.u6_addr32, 16); WARNING: line length of 84 exceeds 80 columns #1353: FILE: tools/testing/selftests/bpf/progs/test_xdp_noinline.c:626: + __builtin_memcpy(pckt->flow.dstv6, ip6h->daddr.in6_u.u6_addr32, 16); total: 0 errors, 21 warnings, 3 checks, 992 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 c3e40ed21f50 ("selftests/bpf: remove string.h includes in bpf progs") 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, 21 warnings, 3 checks, 992 lines checked