Skip to content

Commit

Permalink
[PATCH] openprom NULL noise removal
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Oct 10, 2006
1 parent 03dc550 commit a6ded1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sbus/char/openprom.c
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ static int openprom_ioctl(struct inode * inode, struct file * file,
case OPROMPATH2NODE:
if ((file->f_mode & FMODE_READ) == 0)
return -EPERM;
return openprom_sunos_ioctl(inode, file, cmd, arg, 0);
return openprom_sunos_ioctl(inode, file, cmd, arg, NULL);

case OPIOCGET:
case OPIOCNEXTPROP:
Expand Down

0 comments on commit a6ded1b

Please sign in to comment.