WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #86: new file mode 100644 CHECK: Macro argument 'x' may be better as '(x)' to avoid precedence issues #191: FILE: tools/testing/selftests/bpf/xsk_rr.c:35: +#define OUTSTANDING_MASK(x) (x & (MAX_OUTSTANDING - 1)) WARNING: line length of 86 exceeds 80 columns #310: FILE: tools/testing/selftests/bpf/xsk_rr.c:154: + rtt = (buckets[i] * (i) + count * rtt) / (count + buckets[i]); WARNING: line length of 81 exceeds 80 columns #315: FILE: tools/testing/selftests/bpf/xsk_rr.c:159: + printf("count: %lu p%d: %lu\n", count, percentile, rtt * BUCKET_SIZE_NM); WARNING: return of an errno should typically be negative (ie: return -EAGAIN) #332: FILE: tools/testing/selftests/bpf/xsk_rr.c:176: + return EAGAIN; WARNING: line length of 83 exceeds 80 columns #377: FILE: tools/testing/selftests/bpf/xsk_rr.c:221: + printf("outstanding packets: %lu\n", (pending_sends - done_sends)); WARNING: line length of 81 exceeds 80 columns #463: FILE: tools/testing/selftests/bpf/xsk_rr.c:307: + ð->h_source[3], ð->h_source[4], ð->h_source[5]) != 6) WARNING: line length of 86 exceeds 80 columns #483: FILE: tools/testing/selftests/bpf/xsk_rr.c:327: + (cfg_addr_len * 2) + sizeof(*uh) + cfg_payload_size, 0); WARNING: line length of 90 exceeds 80 columns #591: FILE: tools/testing/selftests/bpf/xsk_rr.c:435: + xsk->umem_area = mmap(NULL, UMEM_SIZE, PROT_READ | PROT_WRITE, mmap_flags, -1, 0); WARNING: line length of 84 exceeds 80 columns #632: FILE: tools/testing/selftests/bpf/xsk_rr.c:476: + n = xsk_ring_cons__peek(&xsk->comp, XSK_RING_CONS__DEFAULT_NUM_DESCS, &idx); WARNING: line length of 84 exceeds 80 columns #686: FILE: tools/testing/selftests/bpf/xsk_rr.c:530: + recvfrom(xsk_fd, NULL, 0, MSG_DONTWAIT, NULL, NULL); WARNING: line length of 96 exceeds 80 columns #709: FILE: tools/testing/selftests/bpf/xsk_rr.c:553: + verify_pkt(xsk_umem__get_data(xsk->umem_area, addr), desc->len); WARNING: line length of 81 exceeds 80 columns #918: FILE: tools/testing/selftests/bpf/xsk_rr.c:762: + while ((c = getopt(argc, argv, "46B:D:d:hi:l:m:M:no:p:P:S:tTv")) != -1) { total: 0 errors, 12 warnings, 1 checks, 988 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 8acd276de778 ("Add `xsk_rr` an AF_XDP benchmark to measure latency") 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, 12 warnings, 1 checks, 988 lines checked