[PATCH] static_call: Fix Kconfig dependency of selftests

Ard Biesheuvel posted 1 patch 18 hours ago
arch/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] static_call: Fix Kconfig dependency of selftests
Posted by Ard Biesheuvel 18 hours ago
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