Skip to content
Snippets Groups Projects
Commit a6ded1b0 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

[PATCH] openprom NULL noise removal

parent 03dc5506
Branches
Tags
No related merge requests found
...@@ -630,7 +630,7 @@ static int openprom_ioctl(struct inode * inode, struct file * file, ...@@ -630,7 +630,7 @@ static int openprom_ioctl(struct inode * inode, struct file * file,
case OPROMPATH2NODE: case OPROMPATH2NODE:
if ((file->f_mode & FMODE_READ) == 0) if ((file->f_mode & FMODE_READ) == 0)
return -EPERM; return -EPERM;
return openprom_sunos_ioctl(inode, file, cmd, arg, 0); return openprom_sunos_ioctl(inode, file, cmd, arg, NULL);
case OPIOCGET: case OPIOCGET:
case OPIOCNEXTPROP: case OPIOCNEXTPROP:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment