On Saturday 30 June 2007, Oliver Neukum wrote:
> --- linux-2.6.22rc6vanilla/include/linux/usb.h
> +++ linux-2.6.22-rc6-iso/include/linux/usb.h
> @@ -1152,7 +1152,7 @@ struct urb
>       int error_count;                /* (return) number of ISO errors */
>       void *context;                  /* (in) context for completion */
>       usb_complete_t complete;        /* (in) completion routine */
> -     struct usb_iso_packet_descriptor iso_frame_desc[0];
> +     struct usb_iso_packet_descriptor *iso_frames;

If you're going to make this change, please remove the fullspeed-centricity
of those names.  Although to be fair, even at full speed the use of "frame"
was incorrect ... the period could be any number of frames.  For high speed
of course the periods are measured in microframes.

I suggest calling the field "iso_packets" instead.

- Dave


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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