]> err.no Git - linux-2.6/commit
USB: add rationale on why usb descriptor structures have to be packed
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Fri, 23 Feb 2007 00:37:53 +0000 (16:37 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 23 Feb 2007 23:03:46 +0000 (15:03 -0800)
commit672027a35795ec95f516fdc702ba8900d55a9eef
tree76d4a091a53edfef3ff1868ede58dbbb90e086fe
parent822c7ef48b06332168530284781640856621d9f4
USB: add rationale on why usb descriptor structures have to be packed

Add argumentation in defense of using __attribute__((packed)) in USB
descriptors authored by Dave Brownell. Necessary as in some cases it
seems superfluous.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/usb/ch9.h