diff options
author | Michael Grzeschik <[email protected]> | 2023-07-22 00:22:56 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-07-25 17:43:05 +0200 |
commit | 6237390644fb92b81f5262877fe545d0d2c7b5d7 (patch) | |
tree | 44041d1722d5c28e1a7dd72ed23a41fa30b66aad /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 734ae15ab95a18d3d425fc9cb38b7a627d786f08 (diff) |
usb: gadget: core: remove unbalanced mutex_unlock in usb_gadget_activate
Commit 286d9975a838 ("usb: gadget: udc: core: Prevent soft_connect_store() race")
introduced one extra mutex_unlock of connect_lock in the usb_gadget_active function.
Fixes: 286d9975a838 ("usb: gadget: udc: core: Prevent soft_connect_store() race")
Cc: stable <[email protected]>
Signed-off-by: Michael Grzeschik <[email protected]>
Reviewed-by: Alan Stern <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions