diff options
| author | Wei Yongjun <[email protected]> | 2019-10-30 03:40:46 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-11-20 19:48:06 +0000 |
| commit | 093edc2baad2c258b1f55d1ab9c63c2b5ae67e42 (patch) | |
| tree | d7b9264c06c3ffd130548a2c0e2694f2b60ba738 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | usb-storage: Disable UAS on JMicron SATA enclosure (diff) | |
| download | kernel-093edc2baad2c258b1f55d1ab9c63c2b5ae67e42.tar.gz kernel-093edc2baad2c258b1f55d1ab9c63c2b5ae67e42.zip | |
usb: gadget: configfs: Fix missing spin_lock_init()
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: 1a1c851bbd70 ("usb: gadget: configfs: fix concurrent issue between composite APIs")
Signed-off-by: Wei Yongjun <[email protected]>
Cc: stable <[email protected]>
Reviewed-by: Peter Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
