public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools headers: kcfi: rename missed CONFIG_CFI_CLANG
@ 2025-10-06 18:43 Carlos Llamas
  2025-10-06 22:05 ` Nathan Chancellor
  0 siblings, 1 reply; 5+ messages in thread
From: Carlos Llamas @ 2025-10-06 18:43 UTC (permalink / raw)
  To: Namhyung Kim, Linus Walleij, Kees Cook, Nathan Chancellor,
	Ingo Molnar, Carlos Llamas
  Cc: kernel-team, linux-kernel

Commit 23ef9d439769 ("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: 23ef9d439769 ("kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI")
Signed-off-by: Carlos Llamas <cmllamas@google.com>
---
 tools/include/linux/cfi_types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/include/linux/cfi_types.h b/tools/include/linux/cfi_types.h
index fb8d90bff92e..a86af9bc8bdc 100644
--- a/tools/include/linux/cfi_types.h
+++ b/tools/include/linux/cfi_types.h
@@ -43,7 +43,7 @@
 
 #else /* __ASSEMBLY__ */
 
-#ifdef CONFIG_CFI_CLANG
+#ifdef CONFIG_CFI
 #define DEFINE_CFI_TYPE(name, func)						\
 	/*									\
 	 * Force a reference to the function so the compiler generates		\
-- 
2.51.0.618.g983fd99d29-goog


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-10-07 15:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-06 18:43 [PATCH] tools headers: kcfi: rename missed CONFIG_CFI_CLANG Carlos Llamas
2025-10-06 22:05 ` Nathan Chancellor
2025-10-06 22:46   ` Carlos Llamas
2025-10-06 22:51   ` [PATCH v2] " Carlos Llamas
2025-10-07 15:24     ` (subset) " Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox