projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03dc550
)
[PATCH] openprom NULL noise removal
author
Al Viro
<viro@ftp.linux.org.uk>
Tue, 10 Oct 2006 21:48:17 +0000
(22:48 +0100)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 10 Oct 2006 22:37:23 +0000
(15:37 -0700)
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>
drivers/sbus/char/openprom.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/sbus/char/openprom.c
b/drivers/sbus/char/openprom.c
index 2f698763ba5d5c6ee4b2cca28e6198961f575527..81ba2d71cee2aa4e206a361fa909a6dd82a2974c 100644
(file)
--- 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: