Skip to contentSkip to conversation

openprom NULL noise removal

PATCH In review Al Viro 2 participants 2 messages Oct 10, 2006 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 openprom NULL noise removal

---
 drivers/sbus/char/openprom.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/sbus/char/openprom.c +1 -1
index 2f69876..81ba2d7 100644
@@ -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:
Signature · 1 line
1.4.2.GIT