WARNING: line length of 91 exceeds 80 columns #68: FILE: tools/lib/bpf/ringbuf.c:165: + r->overwrite_pos = r->producer_pos + 1; /* overwrite_pos is next to producer_pos */ CHECK: Blank lines aren't necessary after an open brace '{' #87: FILE: tools/lib/bpf/ringbuf.c:298: +{ + WARNING: memory barrier without comment #100: FILE: tools/lib/bpf/ringbuf.c:311: + cons_pos = smp_load_acquire(r->consumer_pos); WARNING: memory barrier without comment #125: FILE: tools/lib/bpf/ringbuf.c:336: + prod_pos = smp_load_acquire(r->producer_pos); WARNING: memory barrier without comment #159: FILE: tools/lib/bpf/ringbuf.c:370: + smp_store_release(r->consumer_pos, cons_pos); total: 0 errors, 4 warnings, 1 checks, 143 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 83209b41b8b7 ("libbpf: ringbuf: Add overwrite ring buffer process") 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, 4 warnings, 1 checks, 143 lines checked