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:
7a10034
)
firewire: fix ioctl() return code
author
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Fri, 12 Sep 2008 16:20:16 +0000
(18:20 +0200)
committer
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Wed, 15 Oct 2008 20:21:10 +0000
(22:21 +0200)
Reported by Jay Fenlason: ioctl() did not return as intended
- the size of data read into ioctl_send_request,
- the number of datagrams enqueued by ioctl_queue_iso.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-cdev.c
patch
|
blob
|
history
diff --git
a/drivers/firewire/fw-cdev.c
b/drivers/firewire/fw-cdev.c
index cfceb2cba4e49e91c50e62d3175592961a017b07..ed03234cbea89ea2247b9d4d005d7e5d1baf1221 100644
(file)
--- a/
drivers/firewire/fw-cdev.c
+++ b/
drivers/firewire/fw-cdev.c
@@
-913,7
+913,7
@@
dispatch_ioctl(struct client *client, unsigned int cmd, void __user *arg)
return -EFAULT;
}
- return
0
;
+ return
retval
;
}
static long