projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f093182
)
[SPARC]: Missing compat_ioctl hookup in openprom driver.
author
David S. Miller
<davem@sunset.davemloft.net>
Tue, 8 Nov 2005 18:00:13 +0000
(10:00 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Tue, 8 Nov 2005 18:00:13 +0000
(10:00 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/sbus/char/openprom.c
patch
|
blob
|
history
diff --git
a/drivers/sbus/char/openprom.c
b/drivers/sbus/char/openprom.c
index 5028ac2143262d44418d758682c31c766f6bd21f..383a95f34a0da4e8adec682df992786d572efe27 100644
(file)
--- a/
drivers/sbus/char/openprom.c
+++ b/
drivers/sbus/char/openprom.c
@@
-596,6
+596,8
@@
static long openprom_compat_ioctl(struct file *file, unsigned int cmd,
lock_kernel();
break;
}
+
+ return rval;
}
static int openprom_open(struct inode * inode, struct file * file)
@@
-623,6
+625,7
@@
static struct file_operations openprom_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.ioctl = openprom_ioctl,
+ .compat_ioctl = openprom_compat_ioctl,
.open = openprom_open,
.release = openprom_release,
};