drivers/usb annotations and fixes
* endianness annotations * endianness fixes * missing get_unaligned/put_unaligned It's pretty much all over the place, changes to different files are independent. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Serial-parts-Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
このコミットが含まれているのは:
@@ -1555,8 +1555,7 @@ hub_descriptor (struct usb_hub_descriptor *desc)
|
||||
memset (desc, 0, sizeof *desc);
|
||||
desc->bDescriptorType = 0x29;
|
||||
desc->bDescLength = 9;
|
||||
desc->wHubCharacteristics = (__force __u16)
|
||||
(__constant_cpu_to_le16 (0x0001));
|
||||
desc->wHubCharacteristics = cpu_to_le16(0x0001);
|
||||
desc->bNbrPorts = 1;
|
||||
desc->bitmap [0] = 0xff;
|
||||
desc->bitmap [1] = 0xff;
|
||||
|
新しいイシューから参照
ユーザーをブロックする