Files
linux/drivers
Wei Yongjun 2a030dbece usb: gadget: configfs: Fix missing spin_lock_init()
commit 093edc2baa upstream.

The driver allocates the spinlock but not initialize it.
Use spin_lock_init() on it to initialize it correctly.

This is detected by Coccinelle semantic patch.

Fixes: 1a1c851bbd ("usb: gadget: configfs: fix concurrent issue between composite APIs")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Cc: stable <stable@vger.kernel.org>
Reviewed-by: Peter Chen <peter.chen@nxp.com>
Link: https://lore.kernel.org/r/20191030034046.188808-1-weiyongjun1@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-17 20:34:28 +01:00
..
2019-12-13 08:50:58 +01:00
2019-12-13 08:52:44 +01:00
2019-05-14 19:17:53 +02:00
2019-10-05 13:09:45 +02:00
2019-11-20 18:47:35 +01:00
2019-12-05 09:21:29 +01:00
2019-07-26 09:14:05 +02:00
2018-12-21 14:15:17 +01:00
2019-12-13 08:52:48 +01:00