Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1
+1
drivers/tee/optee/ffa_abi.c
··· 865 865 rhashtable_free_and_destroy(&optee->ffa.global_ids, rh_free_fn, NULL); 866 866 optee_supp_uninit(&optee->supp); 867 867 mutex_destroy(&optee->call_queue.mutex); 868 + mutex_destroy(&optee->ffa.mutex); 868 869 err_unreg_supp_teedev: 869 870 tee_device_unregister(optee->supp_teedev); 870 871 err_unreg_teedev: