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>
This commit is contained in:
Al Viro
2008-03-29 03:07:48 +00:00
committed by Linus Torvalds
parent 5fa1247a2b
commit 5cf83b9b12
3 changed files with 3 additions and 3 deletions

View File

@@ -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;