WARNING: line length of 84 exceeds 80 columns #26: FILE: tools/lib/bpf/bpf_helpers.h:317: +extern int bpf_stream_vprintk(int stream_id, const char *fmt__str, const void *args, CHECK: extern prototypes should be avoided in .h files #26: FILE: tools/lib/bpf/bpf_helpers.h:317: +extern int bpf_stream_vprintk(int stream_id, const char *fmt__str, const void *args, WARNING: line length of 81 exceeds 80 columns #29: FILE: tools/lib/bpf/bpf_helpers.h:320: +#define bpf_stream_printk(stream_id, fmt, args...) \ WARNING: line length of 81 exceeds 80 columns #30: FILE: tools/lib/bpf/bpf_helpers.h:321: +({ \ WARNING: line length of 81 exceeds 80 columns #31: FILE: tools/lib/bpf/bpf_helpers.h:322: + static const char ___fmt[] = fmt; \ WARNING: line length of 81 exceeds 80 columns #32: FILE: tools/lib/bpf/bpf_helpers.h:323: + unsigned long long ___param[___bpf_narg(args)]; \ WARNING: line length of 81 exceeds 80 columns #33: FILE: tools/lib/bpf/bpf_helpers.h:324: + \ WARNING: line length of 81 exceeds 80 columns #34: FILE: tools/lib/bpf/bpf_helpers.h:325: + _Pragma("GCC diagnostic push") \ WARNING: line length of 81 exceeds 80 columns #35: FILE: tools/lib/bpf/bpf_helpers.h:326: + _Pragma("GCC diagnostic ignored \"-Wint-conversion\"") \ WARNING: line length of 81 exceeds 80 columns #36: FILE: tools/lib/bpf/bpf_helpers.h:327: + ___bpf_fill(___param, args); \ WARNING: line length of 81 exceeds 80 columns #37: FILE: tools/lib/bpf/bpf_helpers.h:328: + _Pragma("GCC diagnostic pop") \ WARNING: line length of 81 exceeds 80 columns #38: FILE: tools/lib/bpf/bpf_helpers.h:329: + \ WARNING: line length of 81 exceeds 80 columns #39: FILE: tools/lib/bpf/bpf_helpers.h:330: + bpf_stream_vprintk(stream_id, ___fmt, ___param, sizeof(___param), NULL);\ total: 0 errors, 12 warnings, 1 checks, 22 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 dc4a1500dca5 ("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, 12 warnings, 1 checks, 22 lines checked