From: Kexin Sun Date: Sat, 21 Mar 2026 10:56:58 +0000 (+0800) Subject: bpf: update outdated comment for refactored btf_check_kfunc_arg_match() X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=70b5f3f7822a8737de350ce3731189e724bc45be;p=thirdparty%2Flinux.git bpf: update outdated comment for refactored btf_check_kfunc_arg_match() The function btf_check_kfunc_arg_match() was refactored into check_kfunc_args() by commit 00b85860feb8 ("bpf: Rewrite kfunc argument handling"). Update the comment accordingly. Assisted-by: unnamed:deepseek-v3.2 coccinelle Signed-off-by: Kexin Sun Acked-by: Yonghong Song Reviewed-by: Jiayuan Chen Link: https://lore.kernel.org/r/20260321105658.6006-1-kexinsun@smail.nju.edu.cn Signed-off-by: Alexei Starovoitov --- diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c index c30c7773bc1f3..70a100dd4d0c3 100644 --- a/kernel/bpf/verifier.c +++ b/kernel/bpf/verifier.c @@ -14505,7 +14505,7 @@ static int check_kfunc_call(struct bpf_verifier_env *env, struct bpf_insn *insn, if (btf_type_is_ptr(t)) mark_btf_func_reg_size(env, regno, sizeof(void *)); else - /* scalar. ensured by btf_check_kfunc_arg_match() */ + /* scalar. ensured by check_kfunc_args() */ mark_btf_func_reg_size(env, regno, t->size); }