diff options
Diffstat (limited to 'drivers/firewire/fw-cdev.c')
-rw-r--r-- | drivers/firewire/fw-cdev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/firewire/fw-cdev.c b/drivers/firewire/fw-cdev.c index 2e6d5848d217..ed03234cbea8 100644 --- a/drivers/firewire/fw-cdev.c +++ b/drivers/firewire/fw-cdev.c | |||
@@ -720,8 +720,8 @@ static int ioctl_create_iso_context(struct client *client, void *buffer) | |||
720 | #define GET_PAYLOAD_LENGTH(v) ((v) & 0xffff) | 720 | #define GET_PAYLOAD_LENGTH(v) ((v) & 0xffff) |
721 | #define GET_INTERRUPT(v) (((v) >> 16) & 0x01) | 721 | #define GET_INTERRUPT(v) (((v) >> 16) & 0x01) |
722 | #define GET_SKIP(v) (((v) >> 17) & 0x01) | 722 | #define GET_SKIP(v) (((v) >> 17) & 0x01) |
723 | #define GET_TAG(v) (((v) >> 18) & 0x02) | 723 | #define GET_TAG(v) (((v) >> 18) & 0x03) |
724 | #define GET_SY(v) (((v) >> 20) & 0x04) | 724 | #define GET_SY(v) (((v) >> 20) & 0x0f) |
725 | #define GET_HEADER_LENGTH(v) (((v) >> 24) & 0xff) | 725 | #define GET_HEADER_LENGTH(v) (((v) >> 24) & 0xff) |
726 | 726 | ||
727 | static int ioctl_queue_iso(struct client *client, void *buffer) | 727 | static int ioctl_queue_iso(struct client *client, void *buffer) |
@@ -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 |