diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-09-12 12:20:16 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-10-15 16:21:10 -0400 |
commit | 99692f71ee04c6f249d0bf6a581359f32f409a38 (patch) | |
tree | 35bf169ebd363e7671df6fb7bfdb405e601da734 /drivers | |
parent | 7a1003449c693f0d57443c8786bbf19717921ae0 (diff) |
firewire: fix ioctl() return code
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/firewire/fw-cdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-cdev.c b/drivers/firewire/fw-cdev.c index cfceb2cba4e4..ed03234cbea8 100644 --- 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) | |||
913 | return -EFAULT; | 913 | return -EFAULT; |
914 | } | 914 | } |
915 | 915 | ||
916 | return 0; | 916 | return retval; |
917 | } | 917 | } |
918 | 918 | ||
919 | static long | 919 | static long |