summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKexin Sun <kexinsun@smail.nju.edu.cn>2026-03-21 13:56:58 +0300
committerAlexei Starovoitov <ast@kernel.org>2026-03-24 23:37:29 +0300
commit70b5f3f7822a8737de350ce3731189e724bc45be (patch)
tree57f40ee05ea3ddf71e28edeff404334275c75307
parent70275388aeaa85027af76d26a803e9be35aba95e (diff)
downloadlinux-70b5f3f7822a8737de350ce3731189e724bc45be.tar.xz
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 <kexinsun@smail.nju.edu.cn> Acked-by: Yonghong Song <yonghong.song@linux.dev> Reviewed-by: Jiayuan Chen <jiayuan.chen@linux.dev> Link: https://lore.kernel.org/r/20260321105658.6006-1-kexinsun@smail.nju.edu.cn Signed-off-by: Alexei Starovoitov <ast@kernel.org>
-rw-r--r--kernel/bpf/verifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c
index c30c7773bc1f..70a100dd4d0c 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);
}