]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bpf: Switch CONFIG_CFI_CLANG to CONFIG_CFI
authorCarlos Llamas <cmllamas@google.com>
Thu, 12 Mar 2026 18:38:17 +0000 (18:38 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 24 Mar 2026 15:42:24 +0000 (08:42 -0700)
commit9b0cf064ea0a6bac5e1a5fb43b004fd52fbe2b3b
tree799abc5c9e228087dc046a10c95144c9a3560721
parenta02327413acc141a887fe77b89656e88bcc4f412
bpf: Switch CONFIG_CFI_CLANG to CONFIG_CFI

This was renamed in commit 23ef9d439769 ("kcfi: Rename CONFIG_CFI_CLANG
to CONFIG_CFI") as it is now a compiler-agnostic option. Using the wrong
name results in the code getting compiled out. Meaning the CFI failures
for btf_dtor_kfunc_t would still trigger.

Fixes: 99fde4d06261 ("bpf, btf: Enforce destructor kfunc type with CFI")
Signed-off-by: Carlos Llamas <cmllamas@google.com>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20260312183818.2721750-1-cmllamas@google.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/btf.c