WSL2-Linux-Kernel/drivers/crypto/allwinner/sun8i-ss
Shixin Liu 06cd7423cf crypto: sun8i-ss - Fix PM reference leak when pm_runtime_get_sync() fails
pm_runtime_get_sync will increment pm usage counter even it failed.
Forgetting to putting operation will result in reference leak here.
Fix it by replacing it with pm_runtime_resume_and_get to keep usage
counter balanced.

Signed-off-by: Shixin Liu <liushixin2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2021-04-16 21:16:32 +10:00
..
Makefile crypto: sun8i-ss - support hash algorithms 2020-09-25 17:48:17 +10:00
sun8i-ss-cipher.c crypto: sun8i-ss - Fix PM reference leak when pm_runtime_get_sync() fails 2021-04-16 21:16:32 +10:00
sun8i-ss-core.c crypto: sun8i-ss - Fix PM reference leak when pm_runtime_get_sync() fails 2021-04-16 21:16:32 +10:00
sun8i-ss-hash.c crypto: sun8i-ss - Fix memory leak of pad 2021-04-09 17:45:13 +10:00
sun8i-ss-prng.c crypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to map 2021-03-13 00:04:01 +11:00
sun8i-ss.h crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00