diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-04-15 13:45:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-05-02 08:59:33 +0300 |
commit | ab5281d21e37a84b5733a09754ddfee3b4c689ad (patch) | |
tree | ff4fd2f870a0a27ba095611c759e114526b43dc9 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ff4226252ca56fce66810e0598958b7d6288421e (diff) | |
download | linux-ab5281d21e37a84b5733a09754ddfee3b4c689ad.tar.xz |
usb: typec: class: Unlocked on error in typec_register_partner()
commit 429a98abfc01d3d4378b7a00969437dc3e8f647c upstream.
We recently added some locking to this function but this error path
was accidentally missed. Unlock before returning.
Fixes: ec27386de23a ("usb: typec: class: Fix NULL pointer access")
Cc: stable <stable@kernel.org>
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/Z_44tOtmml89wQcM@stanley.mountain
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions