WARNING: Missing a blank line after declarations #121: FILE: tools/bpf/bpftool/prog.c:1136: + FILE *file = mode == TRACE_STDOUT ? stdout : stderr; + LIBBPF_OPTS(bpf_test_run_opts, opts); CHECK: multiple assignments should be avoided #142: FILE: tools/bpf/bpftool/prog.c:1157: + skel->bss->written_count = skel->bss->written_size = 0; WARNING: line length of 107 exceeds 80 columns #143: FILE: tools/bpf/bpftool/prog.c:1158: + ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.bpftool_dump_prog_stream), &opts); WARNING: line length of 108 exceeds 80 columns #144: FILE: tools/bpf/bpftool/prog.c:1159: + if (ring_buffer__consume_n(ringbuf, skel->bss->written_count) != skel->bss->written_count) { CHECK: Please don't use multiple blank lines #157: FILE: tools/bpf/bpftool/prog.c:1172: + + WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #207: new file mode 100644 WARNING: return of an errno should typically be negative (ie: return -ENOENT) #242: FILE: tools/bpf/bpftool/skeleton/stream.bpf.c:31: + return ENOENT; WARNING: line length of 88 exceeds 80 columns #266: FILE: tools/bpf/bpftool/skeleton/stream.bpf.c:55: + /* Probe and exit if no more space, probe for twice the typical size. */ total: 0 errors, 6 warnings, 2 checks, 229 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 de4a7d90db90 ("bpftool: Add support for dumping streams") 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, 6 warnings, 2 checks, 229 lines checked