summaryrefslogtreecommitdiff
path: root/drivers/firewire
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2008-09-12 20:20:16 +0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2008-10-16 00:21:10 +0400
commit99692f71ee04c6f249d0bf6a581359f32f409a38 (patch)
tree35bf169ebd363e7671df6fb7bfdb405e601da734 /drivers/firewire
parent7a1003449c693f0d57443c8786bbf19717921ae0 (diff)
downloadlinux-99692f71ee04c6f249d0bf6a581359f32f409a38.tar.xz
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/firewire')
-rw-r--r--drivers/firewire/fw-cdev.c2
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