diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-10-10 22:48:17 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-10 15:37:23 -0700 |
commit | a6ded1b0605376e18a17cb01977819bcf2677cdc (patch) | |
tree | ce1d4b12085fd8b29183f4aeb9b902e4bea9186b /drivers/sbus | |
parent | 03dc55064117508ad474f3eede3a77bf9fbb636f (diff) | |
download | kernel_samsung_tuna-a6ded1b0605376e18a17cb01977819bcf2677cdc.zip kernel_samsung_tuna-a6ded1b0605376e18a17cb01977819bcf2677cdc.tar.gz kernel_samsung_tuna-a6ded1b0605376e18a17cb01977819bcf2677cdc.tar.bz2 |
[PATCH] openprom NULL noise removal
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>
Diffstat (limited to 'drivers/sbus')
-rw-r--r-- | drivers/sbus/char/openprom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sbus/char/openprom.c b/drivers/sbus/char/openprom.c index 2f69876..81ba2d7 100644 --- a/drivers/sbus/char/openprom.c +++ b/drivers/sbus/char/openprom.c @@ -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: |