diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-01 20:06:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-01 20:06:09 -0400 |
commit | 3e75c6de1ac33fe3500f44573d9212dc82c99f59 (patch) | |
tree | ef10932e204ba8a9885051b06d4524d284207d61 /include/linux/usb/uas.h | |
parent | cb1595563880a81dab6eab9a5ecb4520d2e76077 (diff) | |
parent | 940ab8f1ef9369da5b58a1bec6820bfd4a7b9042 (diff) |
Merge tag 'usb-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
Pull USB patches from Greg KH:
"Here's the big USB pull request for 3.15-rc1.
The normal set of patches, lots of controller driver updates, and a
smattering of individual USB driver updates as well.
All have been in linux-next for a while"
* tag 'usb-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (249 commits)
xhci: Transition maintainership to Mathias Nyman.
USB: disable reset-resume when USB_QUIRK_RESET is set
USB: unbind all interfaces before rebinding any
usb: phy: Add ulpi IDs for SMSC USB3320 and TI TUSB1210
usb: gadget: tcm_usb_gadget: stop format strings
usb: gadget: f_fs: add missing spinlock and mutex unlock
usb: gadget: composite: switch over to ERR_CAST()
usb: gadget: inode: switch over to memdup_user()
usb: gadget: f_subset: switch over to PTR_RET
usb: gadget: lpc32xx_udc: fix wrong clk_put() sequence
USB: keyspan: remove dead debugging code
USB: serial: add missing newlines to dev_<level> messages.
USB: serial: add missing braces
USB: serial: continue to write on errors
USB: serial: continue to read on errors
USB: serial: make bulk_out_size a lower limit
USB: cypress_m8: fix potential scheduling while atomic
devicetree: bindings: document lsi,zevio-usb
usb: chipidea: add support for USB OTG controller on LSI Zevio SoCs
usb: chipidea: imx: Use dev_name() for ci_hdrc name to distinguish USBs
...
Diffstat (limited to 'include/linux/usb/uas.h')
-rw-r--r-- | include/linux/usb/uas.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/linux/usb/uas.h b/include/linux/usb/uas.h index 5499ab5c94bd..3fc8e8b9f043 100644 --- a/include/linux/usb/uas.h +++ b/include/linux/usb/uas.h | |||
@@ -9,7 +9,7 @@ struct iu { | |||
9 | __u8 iu_id; | 9 | __u8 iu_id; |
10 | __u8 rsvd1; | 10 | __u8 rsvd1; |
11 | __be16 tag; | 11 | __be16 tag; |
12 | }; | 12 | } __attribute__((__packed__)); |
13 | 13 | ||
14 | enum { | 14 | enum { |
15 | IU_ID_COMMAND = 0x01, | 15 | IU_ID_COMMAND = 0x01, |
@@ -52,7 +52,7 @@ struct command_iu { | |||
52 | __u8 rsvd7; | 52 | __u8 rsvd7; |
53 | struct scsi_lun lun; | 53 | struct scsi_lun lun; |
54 | __u8 cdb[16]; /* XXX: Overflow-checking tools may misunderstand */ | 54 | __u8 cdb[16]; /* XXX: Overflow-checking tools may misunderstand */ |
55 | }; | 55 | } __attribute__((__packed__)); |
56 | 56 | ||
57 | struct task_mgmt_iu { | 57 | struct task_mgmt_iu { |
58 | __u8 iu_id; | 58 | __u8 iu_id; |
@@ -62,7 +62,7 @@ struct task_mgmt_iu { | |||
62 | __u8 rsvd2; | 62 | __u8 rsvd2; |
63 | __be16 task_tag; | 63 | __be16 task_tag; |
64 | struct scsi_lun lun; | 64 | struct scsi_lun lun; |
65 | }; | 65 | } __attribute__((__packed__)); |
66 | 66 | ||
67 | /* | 67 | /* |
68 | * Also used for the Read Ready and Write Ready IUs since they have the | 68 | * Also used for the Read Ready and Write Ready IUs since they have the |
@@ -77,15 +77,15 @@ struct sense_iu { | |||
77 | __u8 rsvd7[7]; | 77 | __u8 rsvd7[7]; |
78 | __be16 len; | 78 | __be16 len; |
79 | __u8 sense[SCSI_SENSE_BUFFERSIZE]; | 79 | __u8 sense[SCSI_SENSE_BUFFERSIZE]; |
80 | }; | 80 | } __attribute__((__packed__)); |
81 | 81 | ||
82 | struct response_ui { | 82 | struct response_iu { |
83 | __u8 iu_id; | 83 | __u8 iu_id; |
84 | __u8 rsvd1; | 84 | __u8 rsvd1; |
85 | __be16 tag; | 85 | __be16 tag; |
86 | __be16 add_response_info; | 86 | __u8 add_response_info[3]; |
87 | __u8 response_code; | 87 | __u8 response_code; |
88 | }; | 88 | } __attribute__((__packed__)); |
89 | 89 | ||
90 | struct usb_pipe_usage_descriptor { | 90 | struct usb_pipe_usage_descriptor { |
91 | __u8 bLength; | 91 | __u8 bLength; |