diff options
author | 2022-04-14 23:02:34 +0200 | |
---|---|---|
committer | 2022-04-14 23:02:35 +0200 | |
commit | c834eff53c18bddb2dec08169a651d9a72fc6ed2 (patch) | |
tree | c20f07c10316d793dda0b3854be55d6a587f8c8f | |
parent | Merge branch 'v5.18/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux into arm/fixes (diff) | |
parent | tee: optee: add missing mutext_destroy in optee_ffa_probe (diff) | |
download | wireguard-linux-c834eff53c18bddb2dec08169a651d9a72fc6ed2.tar.xz wireguard-linux-c834eff53c18bddb2dec08169a651d9a72fc6ed2.zip |
Merge tag 'optee-fix-for-v5.18' of git://git.linaro.org/people/jens.wiklander/linux-tee into arm/fixes
OP-TEE fix missing mutex_destroy in probe error handling path
* tag 'optee-fix-for-v5.18' of git://git.linaro.org/people/jens.wiklander/linux-tee:
tee: optee: add missing mutext_destroy in optee_ffa_probe
Link: https://lore.kernel.org/r/20220413052001.GA49798@jade
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to '')
-rw-r--r-- | drivers/tee/optee/ffa_abi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tee/optee/ffa_abi.c b/drivers/tee/optee/ffa_abi.c index a5eb4ef46971..c9b3b2cfb2b2 100644 --- a/drivers/tee/optee/ffa_abi.c +++ b/drivers/tee/optee/ffa_abi.c @@ -865,6 +865,7 @@ err_rhashtable_free: rhashtable_free_and_destroy(&optee->ffa.global_ids, rh_free_fn, NULL); optee_supp_uninit(&optee->supp); mutex_destroy(&optee->call_queue.mutex); + mutex_destroy(&optee->ffa.mutex); err_unreg_supp_teedev: tee_device_unregister(optee->supp_teedev); err_unreg_teedev: |