"usbd_find_desc()" was put into the wrong file. The function belongs together with "usbd_find_edesc()" and "usbd_find_idesc()" and should take "usb_config_descriptor_t *" as argument. Fix: const usb_descriptor_t *usb_find_desc(usbd_device_handle dev, int type, int subtype); #define USBD_SUBTYPE_ANY (~0) /* XXX mixing signed and unsigned types is not good */ changed into: usb_descriptor_t *usb_find_desc(usb_config_descriptor_t *, int type, int subtype); #define USBD_SUBTYPE_ANY (-1) Usage: "usb_find_desc(usbd_get_config_descriptor(udev), ... );"
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
The patch is not applicable to new usb stack.