Re: [PATCH] bpf, btf: switch CONFIG_CFI_CLANG to CONFIG_CFI

From: Yonghong Song

Date: Thu Mar 12 2026 - 16:05:46 EST




On 3/12/26 11:38 AM, Carlos Llamas wrote:
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@xxxxxxxxxx>

Acked-by: Yonghong Song <yonghong.song@xxxxxxxxx>