From 20216c126bd946248d28d875c4a82cd1a79ba794 Mon Sep 17 00:00:00 2001 From: Vasily Gorbik Date: Wed, 25 Feb 2026 10:30:25 +0100 Subject: [PATCH] s390/Kconfig: Make modules sanity test a module-only option The modules sanity test must be built as a module to actually exercise module loading. Require KUNIT && m to prevent built-in builds and avoid misuse, so it is either 'n' or 'm'. Reviewed-by: Heiko Carstens Signed-off-by: Vasily Gorbik --- arch/s390/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index edc927d9e85a..597deaee3320 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -1024,7 +1024,7 @@ config S390_KPROBES_SANITY_TEST config S390_MODULES_SANITY_TEST def_tristate n - depends on KUNIT + depends on KUNIT && m default KUNIT_ALL_TESTS prompt "Enable s390 specific modules tests" select S390_MODULES_SANITY_TEST_HELPERS