diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-09-12 18:20:16 +0200 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-10-15 22:21:10 +0200 |
commit | 99692f71ee04c6f249d0bf6a581359f32f409a38 (patch) | |
tree | 35bf169ebd363e7671df6fb7bfdb405e601da734 /drivers | |
parent | firewire: fix setting tag and sy in iso transmission (diff) | |
download | linux-99692f71ee04c6f249d0bf6a581359f32f409a38.tar.xz linux-99692f71ee04c6f249d0bf6a581359f32f409a38.zip |
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) return -EFAULT; } - return 0; + return retval; } static long |