OpenCloudOS-Kernel/drivers/crypto/ux500/hash
Zhen Lei b013603840 crypto: ux500 - Fix error return code in hash_hw_final()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: 8a63b1994c ("crypto: ux500 - Add driver for HASH hardware")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2021-05-14 19:07:58 +08:00
..
Makefile treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 194 2019-05-30 11:29:22 -07:00
hash_alg.h crypto: ux500 - Use spinlock_t instead of struct spinlock 2019-07-26 15:04:00 +10:00
hash_core.c crypto: ux500 - Fix error return code in hash_hw_final() 2021-05-14 19:07:58 +08:00