WARNING: Block comments use a trailing */ on a separate line #35: FILE: include/linux/btf.h:83: + * passed implicitly in BPF */ CHECK: Prefer using the BIT macro #36: FILE: include/linux/btf.h:84: +#define KF_IMPLICIT_PROG_AUX_ARG (1 << 16) WARNING: line length of 85 exceeds 80 columns #48: FILE: kernel/bpf/verifier.c:11951: +static bool is_kfunc_with_implicit_prog_aux_arg(struct bpf_kfunc_call_arg_meta *meta) WARNING: line length of 114 exceeds 80 columns #60: FILE: kernel/bpf/verifier.c:12037: +static int set_kfunc_arg_prog_regno(struct bpf_verifier_env *env, struct bpf_kfunc_call_arg_meta *meta, u32 regno) WARNING: line length of 83 exceeds 80 columns #63: FILE: kernel/bpf/verifier.c:12040: + verifier_bug(env, "Only 1 prog->aux argument supported per-kfunc"); WARNING: line length of 86 exceeds 80 columns #79: FILE: kernel/bpf/verifier.c:13070: + /* KF_IMPLICIT_PROG_AUX_ARG means that the kfunc has one less argument in BTF, WARNING: line length of 104 exceeds 80 columns #84: FILE: kernel/bpf/verifier.c:13075: + verifier_bug(env, "A kfunc with KF_IMPLICIT_PROG_AUX_ARG flag has %d > %d args", WARNING: Missing a blank line after declarations #89: FILE: kernel/bpf/verifier.c:13080: + u32 regno = nargs + 1; + ret = set_kfunc_arg_prog_regno(env, meta, regno); total: 0 errors, 7 warnings, 1 checks, 77 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 46d39ac5ca84 ("bpf: implement KF_IMPLICIT_PROG_AUX_ARG flag") 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, 7 warnings, 1 checks, 77 lines checked