diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-03-29 04:07:48 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-03-30 23:18:41 +0200 |
commit | 5cf83b9b1279dbcdbcf91522bf766c998270ec44 (patch) | |
tree | cdb9e24a8bae92178467d8280a52555bd5e2a8cc /drivers/misc/lkdtm.c | |
parent | NULL noise: drivers/media (diff) | |
download | linux-5cf83b9b1279dbcdbcf91522bf766c998270ec44.tar.xz linux-5cf83b9b1279dbcdbcf91522bf766c998270ec44.zip |
NULL noise: drivers/misc
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/lkdtm.c')
-rw-r--r-- | drivers/misc/lkdtm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/lkdtm.c b/drivers/misc/lkdtm.c index c884730c5eaf..1bfe5d16963b 100644 --- a/drivers/misc/lkdtm.c +++ b/drivers/misc/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; |