WARNING: line length of 94 exceeds 80 columns #65: FILE: include/linux/btf.h:81: +#define KF_IMPLICIT_ARGS (1 << 16) /* kfunc has implicit arguments supplied by the verifier */ CHECK: Prefer using the BIT macro #65: FILE: include/linux/btf.h:81: +#define KF_IMPLICIT_ARGS (1 << 16) /* kfunc has implicit arguments supplied by the verifier */ WARNING: line length of 81 exceeds 80 columns #79: FILE: kernel/bpf/verifier.c:3276: +static const struct btf_type *find_kfunc_impl_proto(struct bpf_verifier_env *env, WARNING: line length of 88 exceeds 80 columns #88: FILE: kernel/bpf/verifier.c:3285: + len = snprintf(impl_name, sizeof(impl_name), "%s%s", func_name, KF_IMPL_SUFFIX); WARNING: line length of 92 exceeds 80 columns #90: FILE: kernel/bpf/verifier.c:3287: + verbose(env, "function name %s%s is too long\n", func_name, KF_IMPL_SUFFIX); WARNING: line length of 87 exceeds 80 columns #102: FILE: kernel/bpf/verifier.c:3299: + verbose(env, "%s (btf_id %d) is not a function\n", impl_name, impl_id); WARNING: line length of 86 exceeds 80 columns #134: FILE: kernel/bpf/verifier.c:12217: +static bool is_kfunc_arg_prog_aux(const struct btf *btf, const struct btf_param *arg); WARNING: line length of 93 exceeds 80 columns #139: FILE: kernel/bpf/verifier.c:12221: + return btf_param_match_suffix(btf, arg, "__prog") || is_kfunc_arg_prog_aux(btf, arg); WARNING: line length of 85 exceeds 80 columns #142: FILE: kernel/bpf/verifier.c:12224: +static bool is_kfunc_arg_implicit(const struct btf *btf, const struct btf_param *arg) WARNING: line length of 85 exceeds 80 columns #168: FILE: kernel/bpf/verifier.c:12350: +static bool is_kfunc_arg_prog_aux(const struct btf *btf, const struct btf_param *arg) WARNING: line length of 81 exceeds 80 columns #181: FILE: kernel/bpf/verifier.c:14362: + * Implicit kfunc arguments are set after main verification pass. WARNING: line length of 95 exceeds 80 columns #182: FILE: kernel/bpf/verifier.c:14363: + * For correct tracking of zero-extensions we have to reset subreg_def for such WARNING: line length of 97 exceeds 80 columns #183: FILE: kernel/bpf/verifier.c:14364: + * args. Otherwise mark_btf_func_reg_size() will be inspecting subreg_def of regs WARNING: line length of 96 exceeds 80 columns #184: FILE: kernel/bpf/verifier.c:14365: + * from an earlier (irrelevant) point in the program, which may lead to an error CHECK: Logical continuations should be on the previous line #188: FILE: kernel/bpf/verifier.c:14369: + if (unlikely(KF_IMPLICIT_ARGS & meta.kfunc_flags + && is_kfunc_arg_implicit(desc_btf, &args[i]))) total: 0 errors, 13 warnings, 2 checks, 121 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 a74c24dc1795 ("bpf: Verifier support for KF_IMPLICIT_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, 13 warnings, 2 checks, 121 lines checked