WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #54: new file mode 100644 WARNING: Prefer strscpy, strscpy_pad, or __nonstring over strncpy - see: https://github.com/KSPP/linux/issues/90 #126: FILE: tools/testing/selftests/net/skf_net_off.c:68: + strncpy(ifr.ifr_name, tun_name, IFNAMSIZ - 1); WARNING: line length of 88 exceeds 80 columns #138: FILE: tools/testing/selftests/net/skf_net_off.c:80: + const int offset_dport = sizeof(struct ip6_hdr) + offsetof(struct udphdr, dest); WARNING: line length of 83 exceeds 80 columns #142: FILE: tools/testing/selftests/net/skf_net_off.c:84: + BPF_STMT(BPF_LD + BPF_B + BPF_ABS, SKF_AD_OFF + SKF_AD_PKTTYPE), WARNING: line length of 82 exceeds 80 columns #144: FILE: tools/testing/selftests/net/skf_net_off.c:86: + BPF_STMT(BPF_LD + BPF_B + BPF_ABS, SKF_NET_OFF + offset_proto), WARNING: line length of 82 exceeds 80 columns #146: FILE: tools/testing/selftests/net/skf_net_off.c:88: + BPF_STMT(BPF_LD + BPF_H + BPF_ABS, SKF_NET_OFF + offset_dport), WARNING: Prefer ARRAY_SIZE(filter_code) #153: FILE: tools/testing/selftests/net/skf_net_off.c:95: + sizeof(filter_code) / sizeof(filter_code[0]), WARNING: line length of 82 exceeds 80 columns #157: FILE: tools/testing/selftests/net/skf_net_off.c:99: + if (setsockopt(fd, SOL_SOCKET, SO_ATTACH_FILTER, &filter, sizeof(filter))) WARNING: Prefer ARRAY_SIZE(iov) #220: FILE: tools/testing/selftests/net/skf_net_off.c:162: + ret = writev(fd, iov, sizeof(iov) / sizeof(iov[0])); WARNING: Prefer ARRAY_SIZE(iov) #244: FILE: tools/testing/selftests/net/skf_net_off.c:186: + msg.msg_iovlen = sizeof(iov) / sizeof(iov[0]); total: 0 errors, 10 warnings, 0 checks, 289 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 569487e093e7 ("selftests/net: test sk_filter support for SKF_NET_OFF on frags") 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. total: 0 errors, 10 warnings, 0 checks, 289 lines checked