[PATCH 8/9] usb: chipidea: udc: remove unlocked ep_queue which can lead to an race

Alexander Shishkin alexander.shishkin at linux.intel.com
Fri Nov 16 07:55:46 EST 2012


Michael Grzeschik <m.grzeschik at pengutronix.de> writes:

> Its not nessecary to call ep_queue unlocked while in the
> own driver. So we move the function to an unlocked version
> and call it conditionaly.

What do you mean by "conditionally" here? Also, when you say race, you
might as well mention what code is racing what to make things clearer.

Otherwise looks good, assuming that you have tested this with lockdep
enabled.

Regards,
--
Alex



More information about the linux-arm-kernel mailing list