Commit a6ded1b0605376e18a17cb01977819bcf2677cdc
Committed by
Linus Torvalds
1 parent
03dc550641
[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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/sbus/char/openprom.c
... | ... | @@ -630,7 +630,7 @@ |
630 | 630 | case OPROMPATH2NODE: |
631 | 631 | if ((file->f_mode & FMODE_READ) == 0) |
632 | 632 | return -EPERM; |
633 | - return openprom_sunos_ioctl(inode, file, cmd, arg, 0); | |
633 | + return openprom_sunos_ioctl(inode, file, cmd, arg, NULL); | |
634 | 634 | |
635 | 635 | case OPIOCGET: |
636 | 636 | case OPIOCNEXTPROP: |