Skip to content
Commit 9a9fafb8 authored by Phil Endecott's avatar Phil Endecott Committed by Greg Kroah-Hartman
Browse files

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: default avatarPhil Endecott <usb_endian_patch@chezphil.org>
Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent c33ba392
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment