public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] static_call: Fix Kconfig dependency of selftests
@ 2026-03-31 13:42 Ard Biesheuvel
  0 siblings, 0 replies; only message in thread
From: Ard Biesheuvel @ 2026-03-31 13:42 UTC (permalink / raw)
  To: linux-kernel
  Cc: Ard Biesheuvel, Peter Zijlstra, Josh Poimboeuf, Jason Baron,
	Alice Ryhl

From: Ard Biesheuvel <ardb@kernel.org>

The static call selftests are only implemented for the inline variety,
so fix the Kconfig definition to reflect that.

Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Josh Poimboeuf <jpoimboe@kernel.org>
Cc: Jason Baron <jbaron@akamai.com>
Cc: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
---
 arch/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/Kconfig b/arch/Kconfig
index 102ddbd4298e..504e9fc6763f 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -161,7 +161,7 @@ config STATIC_KEYS_SELFTEST
 
 config STATIC_CALL_SELFTEST
 	bool "Static call selftest"
-	depends on HAVE_STATIC_CALL
+	depends on HAVE_STATIC_CALL_INLINE
 	help
 	  Boot time self-test of the call patching code.
 
-- 
2.53.0.1018.g2bb0e51243-goog


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-03-31 13:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-31 13:42 [PATCH] static_call: Fix Kconfig dependency of selftests Ard Biesheuvel

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