WARNING: Macros with flow control statements should be avoided #119: FILE: kernel/bpf/syscall.c:2878: +#define DEFINE_BPF_MULTI_FUNC(args...) \ + extern int bpf_multi_func(args); \ + int __init bpf_multi_func(args) { return 0; } WARNING: externs should be avoided in .c files #120: FILE: kernel/bpf/syscall.c:2879: + extern int bpf_multi_func(args); \ WARNING: line length of 95 exceeds 80 columns #172: FILE: kernel/bpf/syscall.c:3029: + prog->aux->attach_btf_id = multi_func ? bpf_multi_func_btf_id[0] : attr->attach_btf_id; WARNING: line length of 82 exceeds 80 columns #203: FILE: kernel/bpf/trampoline.c:192: + eatype == BPF_MODIFY_RETURN || eatype == BPF_TRACE_FSESSION || WARNING: line length of 88 exceeds 80 columns #204: FILE: kernel/bpf/trampoline.c:193: + eatype == BPF_TRACE_FENTRY_MULTI || eatype == BPF_TRACE_FEXIT_MULTI) total: 0 errors, 5 warnings, 0 checks, 212 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 8c6aebe0e88c ("bpf: Add multi tracing attach types") 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, 5 warnings, 0 checks, 212 lines checked