diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Kconfig | 1 | ||||
-rw-r--r-- | tests/lkdtm.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/Kconfig b/tests/Kconfig index b0a9e8ef295d..cbfbd7aea906 100644 --- a/tests/Kconfig +++ b/tests/Kconfig @@ -41,6 +41,7 @@ config LKDTM tristate "Linux Kernel Dump Test Tool Module" depends on DEBUG_KERNEL depends on KPROBES + depends on BLOCK default n help This module enables testing of the different dumping mechanisms by diff --git a/tests/lkdtm.c b/tests/lkdtm.c index e196eb5975d2..5b4f5fd6799f 100644 --- a/tests/lkdtm.c +++ b/tests/lkdtm.c @@ -197,7 +197,7 @@ static int lkdtm_parse_commandline(void) { int i; - if (cpoint_name == INVALID || cpoint_type == NONE || + if (cpoint_name == NULL || cpoint_type == NULL || cpoint_count < 1 || recur_count < 1) return -EINVAL; |