]> git.baikalelectronics.ru Git - kernel.git/commit
USB: fix comment about endianness of descriptors
authorPhil Endecott <usb_endian_patch@chezphil.org>
Mon, 1 Dec 2008 15:22:33 +0000 (10:22 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 17 Dec 2008 18:49:14 +0000 (10:49 -0800)
commit36c168efa6947af61dd7bd58eca31699a4e8d1f0
tree918ec5c858d043304a47e8744cbee1ad96170298
parent3f74bbb3a20df318a5909f88b60155a961fe01c9
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 <usb_endian_patch@chezphil.org>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/usb/proc_usb_info.txt
include/linux/usb/ch9.h