diff options
author | 2023-02-13 15:09:26 +0800 | |
---|---|---|
committer | 2023-02-14 14:41:24 +0100 | |
commit | 7ebb605d2283fb2647b4fa82030307ce00bee436 (patch) | |
tree | 827c0688c5706ab45506d49edbbd7bc08e989262 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xhci: host: potential NULL dereference in xhci_generic_plat_probe() (diff) | |
download | wireguard-linux-7ebb605d2283fb2647b4fa82030307ce00bee436.tar.xz wireguard-linux-7ebb605d2283fb2647b4fa82030307ce00bee436.zip |
usb: gadget: uvc: fix missing mutex_unlock() if kstrtou8() fails
If kstrtou8() fails, the mutex_unlock() is missed, move kstrtou8()
before mutex_lock() to fix it up.
Fixes: 0525210c9840 ("usb: gadget: uvc: Allow definition of XUs in configfs")
Fixes: b3c839bd8a07 ("usb: gadget: uvc: Make bSourceID read/write")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20230213070926.776447-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions