From: Al Viro Date: Tue, 10 Oct 2006 21:48:17 +0000 (+0100) Subject: [PATCH] openprom NULL noise removal X-Git-Tag: v2.6.19-rc2~171 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a6ded1b0605376e18a17cb01977819bcf2677cdc;p=linux-2.6-omap-h63xx.git [PATCH] openprom NULL noise removal Signed-off-by: Al Viro Acked-by: David S. Miller Signed-off-by: Linus Torvalds --- diff --git a/drivers/sbus/char/openprom.c b/drivers/sbus/char/openprom.c index 2f698763ba5..81ba2d71cee 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: