On 20-01-2013 18:40, Sergei Shtylyov wrote:
Also, why add a lock to usb_dump_desc in devices.c? None of the routines in that file try to communicate with the device.
That was a part of the original patch. I haven't gone into detail about what these functions are doing.
In 2.4 usb_dump_device_strings() called usb_string() which called usb_get_string(). This doesn't happen in 2.6 anymore, so you're right, locking there is not needed anymore.
WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html