mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] openprom NULL noise removal
@ 2006-10-10 21:48 Al Viro
  2006-10-10 21:59 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Al Viro @ 2006-10-10 21:48 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel


Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
 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 *
 	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:
-- 
1.4.2.GIT



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] openprom NULL noise removal
  2006-10-10 21:48 [PATCH] openprom NULL noise removal Al Viro
@ 2006-10-10 21:59 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2006-10-10 21:59 UTC (permalink / raw)
  To: viro; +Cc: torvalds, linux-kernel

From: Al Viro <viro@ftp.linux.org.uk>
Date: Tue, 10 Oct 2006 22:48:17 +0100

> 
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Signed-off-by: David S. Miller <davem@davemloft.net>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-10 21:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-10 21:48 [PATCH] openprom NULL noise removal Al Viro
2006-10-10 21:59 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®