summaryrefslogtreecommitdiff
path: root/lib/crypto/sha256.c
diff options
context:
space:
mode:
authorZhang Qilong <zhangqilong3@huawei.com>2020-10-16 12:05:36 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-10-30 09:35:02 +0300
commit383e8a823014532ffd81c787ef9009f1c2bd3b79 (patch)
tree31d3740a6d4e4e415c1a34d43dfdd454064f1785 /lib/crypto/sha256.c
parent1bc608b4655b8b1491fb100f4cf4f15ae64a8698 (diff)
downloadlinux-383e8a823014532ffd81c787ef9009f1c2bd3b79.tar.xz
crypto: omap-aes - fix the reference count leak of omap device
pm_runtime_get_sync() will increment pm usage counter even when it returns an error code. We should call put operation in error handling paths of omap_aes_hw_init. Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/crypto/sha256.c')
0 files changed, 0 insertions, 0 deletions