mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
s390/Kconfig: Cleanup defaults for selftests
Remove unconditional 'n' defaults from def_tristate statements, as they override the later 'KUNIT_ALL_TESTS' default, rendering it dead Kconfig code. This dead code was identified by kconfirm, a static analysis tool for Kconfig. Also include S390_KPROBES_SANITY_TEST in KUNIT_ALL_TESTS. Signed-off-by: Julian Braha <julianbraha@gmail.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
This commit is contained in:
parent
cb3852f3e5
commit
30cc5e2ad8
|
|
@ -1000,9 +1000,8 @@ config S390_MODULES_SANITY_TEST_HELPERS
|
|||
menu "Selftests"
|
||||
|
||||
config S390_UNWIND_SELFTEST
|
||||
def_tristate n
|
||||
def_tristate KUNIT_ALL_TESTS
|
||||
depends on KUNIT
|
||||
default KUNIT_ALL_TESTS
|
||||
prompt "Test unwind functions"
|
||||
help
|
||||
This option enables s390 specific stack unwinder testing kernel
|
||||
|
|
@ -1012,7 +1011,7 @@ config S390_UNWIND_SELFTEST
|
|||
Say N if you are unsure.
|
||||
|
||||
config S390_KPROBES_SANITY_TEST
|
||||
def_tristate n
|
||||
def_tristate KUNIT_ALL_TESTS
|
||||
prompt "Enable s390 specific kprobes tests"
|
||||
depends on KPROBES
|
||||
depends on KUNIT
|
||||
|
|
@ -1024,9 +1023,8 @@ config S390_KPROBES_SANITY_TEST
|
|||
Say N if you are unsure.
|
||||
|
||||
config S390_MODULES_SANITY_TEST
|
||||
def_tristate n
|
||||
def_tristate KUNIT_ALL_TESTS
|
||||
depends on KUNIT && m
|
||||
default KUNIT_ALL_TESTS
|
||||
prompt "Enable s390 specific modules tests"
|
||||
select S390_MODULES_SANITY_TEST_HELPERS
|
||||
help
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user