WARNING: line length of 86 exceeds 80 columns #55: FILE: tools/lib/bpf/bpf_helpers.h:319: +extern struct bpf_stream *bpf_stream_get(int stream_id, void *aux__ign) __weak __ksym; CHECK: extern prototypes should be avoided in .h files #55: FILE: tools/lib/bpf/bpf_helpers.h:319: +extern struct bpf_stream *bpf_stream_get(int stream_id, void *aux__ign) __weak __ksym; WARNING: line length of 96 exceeds 80 columns #56: FILE: tools/lib/bpf/bpf_helpers.h:320: +extern int bpf_stream_vprintk(struct bpf_stream *stream, const char *fmt__str, const void *args, CHECK: extern prototypes should be avoided in .h files #56: FILE: tools/lib/bpf/bpf_helpers.h:320: +extern int bpf_stream_vprintk(struct bpf_stream *stream, const char *fmt__str, const void *args, WARNING: line length of 81 exceeds 80 columns #59: FILE: tools/lib/bpf/bpf_helpers.h:323: +#define __bpf_stream_vprintk(stream, fmt, args...) \ WARNING: line length of 81 exceeds 80 columns #60: FILE: tools/lib/bpf/bpf_helpers.h:324: +({ \ WARNING: line length of 81 exceeds 80 columns #61: FILE: tools/lib/bpf/bpf_helpers.h:325: + static const char ___fmt[] = fmt; \ WARNING: line length of 81 exceeds 80 columns #62: FILE: tools/lib/bpf/bpf_helpers.h:326: + unsigned long long ___param[___bpf_narg(args)]; \ WARNING: line length of 81 exceeds 80 columns #63: FILE: tools/lib/bpf/bpf_helpers.h:327: + \ WARNING: line length of 81 exceeds 80 columns #64: FILE: tools/lib/bpf/bpf_helpers.h:328: + _Pragma("GCC diagnostic push") \ WARNING: line length of 81 exceeds 80 columns #65: FILE: tools/lib/bpf/bpf_helpers.h:329: + _Pragma("GCC diagnostic ignored \"-Wint-conversion\"") \ WARNING: line length of 81 exceeds 80 columns #66: FILE: tools/lib/bpf/bpf_helpers.h:330: + ___bpf_fill(___param, args); \ WARNING: line length of 81 exceeds 80 columns #67: FILE: tools/lib/bpf/bpf_helpers.h:331: + _Pragma("GCC diagnostic pop") \ WARNING: line length of 81 exceeds 80 columns #68: FILE: tools/lib/bpf/bpf_helpers.h:332: + \ WARNING: line length of 81 exceeds 80 columns #69: FILE: tools/lib/bpf/bpf_helpers.h:333: + int ___id = stream; \ WARNING: line length of 81 exceeds 80 columns #70: FILE: tools/lib/bpf/bpf_helpers.h:334: + struct bpf_stream *___sptr = bpf_stream_get(___id, NULL); \ WARNING: line length of 81 exceeds 80 columns #71: FILE: tools/lib/bpf/bpf_helpers.h:335: + if (___sptr) \ WARNING: line length of 81 exceeds 80 columns #72: FILE: tools/lib/bpf/bpf_helpers.h:336: + bpf_stream_vprintk(___sptr, ___fmt, ___param, sizeof(___param));\ WARNING: line length of 97 exceeds 80 columns #96: FILE: tools/lib/bpf/bpf_helpers.h:353: + ___bpf_pick_printk(__bpf_stream_vprintk, __bpf_stream_vprintk, args)(stream, fmt, ##args) WARNING: line length of 88 exceeds 80 columns #98: FILE: tools/lib/bpf/bpf_helpers.h:355: +#define bpf_stream_printk(stream, fmt, args...) __bpf_stream_printk(stream, fmt, ##args) total: 0 errors, 18 warnings, 2 checks, 76 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 51d8c17affa1 ("libbpf: Add bpf_stream_printk() macro") 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, 18 warnings, 2 checks, 76 lines checked