WARNING: line length of 85 exceeds 80 columns #102: FILE: tools/testing/selftests/bpf/benchs/bench_ringbufs.c:53: + { "rb-bench-producer", ARG_RB_BENCH_PRODUCER, NULL, 0, "Benchmark producer"}, WARNING: line length of 84 exceeds 80 columns #126: FILE: tools/testing/selftests/bpf/benchs/bench_ringbufs.c:113: + fprintf(stderr, "--rb-bench-producer only works with rb-libbpf!\n"); WARNING: line length of 97 exceeds 80 columns #131: FILE: tools/testing/selftests/bpf/benchs/bench_ringbufs.c:118: + fprintf(stderr, "overwrite mode only works with --rb-bench-producer for now!\n"); WARNING: line length of 84 exceeds 80 columns #136: FILE: tools/testing/selftests/bpf/benchs/bench_ringbufs.c:123: + fprintf(stderr, "no consumer is needed for --rb-bench-producer!\n"); WARNING: line length of 95 exceeds 80 columns #141: FILE: tools/testing/selftests/bpf/benchs/bench_ringbufs.c:128: + fprintf(stderr, "back-to-back mode makes no sense for --rb-bench-producer!\n"); WARNING: line length of 91 exceeds 80 columns #146: FILE: tools/testing/selftests/bpf/benchs/bench_ringbufs.c:133: + fprintf(stderr, "sampling mode makes no sense for --rb-bench-producer!\n"); WARNING: line length of 106 exceeds 80 columns #151: FILE: tools/testing/selftests/bpf/benchs/bench_ringbufs.c:138: + fprintf(stderr, "benchmarks without --rb-bench-producer require exactly one consumer!\n"); CHECK: Alignment should match open parenthesis #207: FILE: tools/testing/selftests/bpf/benchs/bench_ringbufs.c:231: + ctx->ringbuf = ring_buffer__new(map_fd, buf_process_sample, + NULL, NULL); WARNING: line length of 122 exceeds 80 columns #221: FILE: tools/testing/selftests/bpf/benchs/run_bench_ringbufs.sh:54: + summarize "rb-prod nr_prod $b" "$($RUN_BENCH -p$b --rb-batch-cnt 50 --rb-overwrite --rb-bench-producer rb-libbpf)" WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #239: FILE: tools/testing/selftests/bpf/progs/ringbuf_bench.c:18: +const volatile bool bench_producer = false; WARNING: Prefer __aligned(128) over __attribute__((aligned(128))) #243: FILE: tools/testing/selftests/bpf/progs/ringbuf_bench.c:22: +long hits __attribute__((aligned(128))) = 0; total: 0 errors, 10 warnings, 1 checks, 183 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 44534d3a3fce ("selftests/bpf/benchs: Add overwrite mode benchmark for BPF ring buffer") 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, 10 warnings, 1 checks, 183 lines checked