summaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2025-04-15 13:45:08 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-15 14:31:58 +0200
commit429a98abfc01d3d4378b7a00969437dc3e8f647c (patch)
treec15b93df6a73eddd5b5228cf370ab768b370af94 /rust/helpers/helpers.c
parent37ffdbd695c02189dbf23d6e7d2385e0299587ca (diff)
downloadlinux-429a98abfc01d3d4378b7a00969437dc3e8f647c.tar.gz
linux-429a98abfc01d3d4378b7a00969437dc3e8f647c.tar.bz2
linux-429a98abfc01d3d4378b7a00969437dc3e8f647c.zip
usb: typec: class: Unlocked on error in typec_register_partner()
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 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions