Skip to content

Commit 20216c1

Browse files
author
Vasily Gorbik
committed
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 <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
1 parent b4d3c33 commit 20216c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/s390/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ config S390_KPROBES_SANITY_TEST
10241024

10251025
config S390_MODULES_SANITY_TEST
10261026
def_tristate n
1027-
depends on KUNIT
1027+
depends on KUNIT && m
10281028
default KUNIT_ALL_TESTS
10291029
prompt "Enable s390 specific modules tests"
10301030
select S390_MODULES_SANITY_TEST_HELPERS

0 commit comments

Comments
 (0)