Greg:

In core/config.c, the descriptor parsing routines store class- and 
vendor-specific descriptors for configurations, interfaces, and endpoints 
using various "extra" pointers.  The memory for these "extra" descriptors 
is separately allocated, and the descriptor contents are copied to the new 
memory areas.  However, the original copies are still present, stored in 
the area pointed to by the "rawdescriptor" fields.

Is there any reason for allocating separate copies of the extra
descriptors?  Or would it be okay to change the code so that the "extra"  
pointers just point to a region within the raw descriptors?

Alan Stern



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to