Hello!

On 09/21/2017 11:12 PM, Alan Stern wrote:

The gadgetfs driver as a long-outstanding FIXME, regarding a call of

   s/as/has/?

copy_to_user() made while holding a spinlock.  This patch fixes the
issue by dropping the spinlock and using the dev->udc_usage mechanism
introduced by another recent patch to guard against status changes
while the lock isn't held.

Signed-off-by: Alan Stern <st...@rowland.harvard.edu>
Reported-by: Andrey Konovalov <andreyk...@google.com>
CC: <sta...@vger.kernel.org>

[...]

MBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to