diff options
author | Harshit Mogalapalli <[email protected]> | 2023-12-18 22:36:35 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-01-02 14:41:51 +0100 |
commit | e7d3b9f28654dbfce7e09f8028210489adaf6a33 (patch) | |
tree | 1293e2b4927720cf96d7161e58c1caec720c3d77 /tools/perf/scripts/python/libxed.py | |
parent | 4c3ea81aa8e11400f24e5541bf46c2cadb4202e9 (diff) |
usb: yurex: Fix inconsistent locking bug in yurex_read()
Unlock before returning on the error path.
Fixes: 86b20af11e84 ("usb: yurex: Replace snprintf() with the safer scnprintf() variant")
Reported-by: Dan Carpenter <[email protected]>
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Signed-off-by: Harshit Mogalapalli <[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/libxed.py')
0 files changed, 0 insertions, 0 deletions