diff options
author | Shannon Nelson <[email protected]> | 2023-05-04 13:44:59 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-05-05 10:02:47 +0100 |
commit | 1e76f42779d6a2e45107b34d79d86a57b8077630 (patch) | |
tree | 28ad9baabfcdf71176d73a52793650967cb4bcdf /scripts/gdb/linux/modules.py | |
parent | 1a304495082e7e73a96b9facac1eb93b6b0498a4 (diff) |
pds_core: fix mutex double unlock in error path
Fix a double unlock in an error handling path by unlocking as soon as
the error is seen and removing unlocks in the error cleanup path.
Link: https://lore.kernel.org/kernel-janitors/[email protected]/
Fixes: 523847df1b37 ("pds_core: add devcmd device interfaces")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Shannon Nelson <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions