USB: fix comment about endianness of descriptors
authorPhil Endecott <[email protected]>
Mon, 1 Dec 2008 15:22:33 +0000 (10:22 -0500)
committerGreg Kroah-Hartman <[email protected]>
Wed, 17 Dec 2008 18:49:14 +0000 (10:49 -0800)
commit9a9fafb89433c5fd1331bac0c84c4b321e358b42
tree918ec5c858d043304a47e8744cbee1ad96170298
parentc33ba392147a8506b1b43899fdea6069e27e4277
USB: fix comment about endianness of descriptors

This patch fixes a comment and clarifies the documentation about the
endianness of descriptors. The current policy is that descriptors will
be little-endian at the API even on big-endian systems; however the
/proc/bus/usb API predates this policy and presents descriptors with
some multibyte fields byte-swapped.

Signed-off-by: Phil Endecott <[email protected]>
Signed-off-by: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Documentation/usb/proc_usb_info.txt
include/linux/usb/ch9.h