WARNING: line length of 91 exceeds 80 columns #41: FILE: include/linux/btf.h:82: +#define KF_MAGIC_ARGS (1 << 16) /* kfunc signature is different from its BPF signature */ CHECK: Prefer using the BIT macro #41: FILE: include/linux/btf.h:82: +#define KF_MAGIC_ARGS (1 << 16) /* kfunc signature is different from its BPF signature */ WARNING: line length of 87 exceeds 80 columns #82: FILE: kernel/bpf/verifier.c:3295: +static const struct btf_type *find_magic_kfunc_proto(struct btf *desc_btf, s32 func_id) WARNING: line length of 93 exceeds 80 columns #141: FILE: kernel/bpf/verifier.c:3420: + * Note that kfunc_flags may be NULL at this point, which means that we couldn't find WARNING: line length of 98 exceeds 80 columns #142: FILE: kernel/bpf/verifier.c:3421: + * func_id in any relevant kfunc_id_set. This most likely indicates an invalid kfunc call. WARNING: line length of 92 exceeds 80 columns #143: FILE: kernel/bpf/verifier.c:3422: + * However we don't want to fail the verification here, because invalid calls may be WARNING: line length of 88 exceeds 80 columns #149: FILE: kernel/bpf/verifier.c:3428: + verbose(env, "cannot find _impl proto for kernel function %s\n", CHECK: Alignment should match open parenthesis #150: FILE: kernel/bpf/verifier.c:3429: + verbose(env, "cannot find _impl proto for kernel function %s\n", + func_name); WARNING: line length of 82 exceeds 80 columns #162: FILE: kernel/bpf/verifier.c:12134: +static bool is_kfunc_arg_magic(const struct btf *btf, const struct btf_param *arg) WARNING: line length of 91 exceeds 80 columns #192: FILE: kernel/bpf/verifier.c:13729: + kfunc_flags = btf_kfunc_flags_if_allowed(desc_btf, tmp_func_id, env->prog); WARNING: line length of 95 exceeds 80 columns #215: FILE: kernel/bpf/verifier.c:14298: + * For correct tracking of zero-extensions we have to reset subreg_def for such WARNING: line length of 97 exceeds 80 columns #216: FILE: kernel/bpf/verifier.c:14299: + * args. Otherwise mark_btf_func_reg_size() will be inspecting subreg_def of regs WARNING: line length of 96 exceeds 80 columns #217: FILE: kernel/bpf/verifier.c:14300: + * from an earlier (irrelevant) point in the program, which may lead to an error CHECK: Logical continuations should be on the previous line #221: FILE: kernel/bpf/verifier.c:14304: + if (unlikely(KF_MAGIC_ARGS & meta.kfunc_flags + && is_kfunc_arg_magic(desc_btf, &args[i]))) total: 0 errors, 11 warnings, 3 checks, 179 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 af89f9883e3e ("bpf: Support for kfuncs with KF_MAGIC_ARGS") 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, 11 warnings, 3 checks, 179 lines checked