Skip to contentSkip to conversation

static_call: Fix Kconfig dependency of selftests

PATCH New Ard Biesheuvel 1 participant 1 message Mar 31

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 static_call: Fix Kconfig dependency of selftests

From: Ard Biesheuvel <[email protected]>

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

Cc Peter Zijlstra <[email protected]>
Cc Josh Poimboeuf <[email protected]>
Cc Jason Baron <[email protected]>
Cc Alice Ryhl <[email protected]>
---
 arch/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/Kconfig +1 -1
index 102ddbd4298e..504e9fc6763f 100644
@@ -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.
 
Signature · 1 line
2.53.0.1018.g2bb0e51243-goog