Am Freitag, 6. Januar 2006 23:18 schrieb Alan Stern: > I don't know why struct usb_device_descriptor is packed. In fact, most of > the structures defined in usb_ch9.h are packed for no apparent reason. > Maybe it's so you can dereference descriptors embedded in the > rawdescriptors array; those definitely are _not_ aligned.
I went through this file checking for the size of a structure and noticed that these structuress are packed. Not being able to understand the reason I proposed to change that. Russell objected. This makes no sense. EIther none of these structures should be packed, or all should be packed. Regards Oliver ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel