diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2013-07-23 20:20:17 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-09-17 15:38:48 (GMT) |
commit | 2389df458b9e8222ef54fbb6e7023ead84b87a5c (patch) | |
tree | 7af474c2118894f586b67aebd494fa3d216e844f /drivers/ntb/ntb_transport.c | |
parent | 272b98c6455f00884f0350f775c5342358ebb73f (diff) | |
download | linux-2389df458b9e8222ef54fbb6e7023ead84b87a5c.tar.xz |
usb: gadget: mv_u3d_core: fix violation of locking discipline in mv_u3d_ep_disable()
mv_u3d_nuke() expects to be calles with ep->u3d->lock held,
because mv_u3d_done() does. But mv_u3d_ep_disable() calls it
without lock that can lead to unpleasant consequences.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/ntb/ntb_transport.c')
0 files changed, 0 insertions, 0 deletions