Skip to content

Commit b157dd2

Browse files
Carlos Llamaskees
authored andcommitted
tools headers: kcfi: rename missed CONFIG_CFI_CLANG
Commit 23ef9d4 ("kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI") missed one instance of CONFIG_CFI_CLANG. Rename it to match the original kernel header. This addresses the following build warning: Warning: Kernel ABI header differences: diff -u tools/include/linux/cfi_types.h include/linux/cfi_types.h Cc: Kees Cook <kees@kernel.org> Fixes: a5ba183 ("Merge tag 'hardening-v6.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux") Reviewed-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Carlos Llamas <cmllamas@google.com> Link: https://lore.kernel.org/r/20251006225148.1636486-1-cmllamas@google.com Signed-off-by: Kees Cook <kees@kernel.org>
1 parent 0902b3c commit b157dd2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/include/linux/cfi_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
#else /* __ASSEMBLY__ */
4545

46-
#ifdef CONFIG_CFI_CLANG
46+
#ifdef CONFIG_CFI
4747
#define DEFINE_CFI_TYPE(name, func) \
4848
/* \
4949
* Force a reference to the function so the compiler generates \

0 commit comments

Comments
 (0)