On Fri, Jun 15, 2001 at 04:32:24PM +0100, Jerram, Simon wrote:
> 
> I would like to know people's opinions
> regarding allocating URBs and using pointers in the driver structure,
> or putting the URBs actually in the driver structure...

Use a pointer.  

If something needs to be changed in usb_alloc_urb() that does a bit more
than just allocate the needed memory, you will have to copy that logic
into your driver if you have the urbs directly in the driver structure.
And whoever changes usb_alloc_urb in the future will not realize to
change your driver :)

greg k-h

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to