On Fri, 6 Jan 2006 23:07:59 +0100, Oliver Neukum <[EMAIL PROTECTED]> wrote:

> Sorry. I confused it with usb_device_descriptor which is appended to in 
> devio.c
> WHich is packed. Considering pure alignment it shouldn't be. Yet there seems
> to be a problem in arm. Can you shed light on this?

You never mentioned an actual problem. At the begining of the thread,
you sent this:

> Hi,
> 
> is there any architecture for which packed is required in structures like 
> this:
> 
> /* All standard descriptors have these 2 fields at the beginning */
> struct usb_descriptor_header {
>       __u8  bLength;
>       __u8  bDescriptorType;
> };

I took it as a result of janitoring, and there was no observable problem.
There does not "seem" to be a problem on ARM. It would be, if we used
an array of these things, but we do not.

-- Pete


-------------------------------------------------------
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_id=7637&alloc_id=16865&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

Reply via email to