]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: ux500 - fix error return code in hash_dma_final()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 22 Mar 2013 13:18:44 +0000 (21:18 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 3 Apr 2013 01:06:28 +0000 (09:06 +0800)
commit6f92759aa20dccf8e0002838d7c4c83629e7d81c
tree1009bf631d1fc036b6114d0ce7cb85d3f36beb10
parent1facd57543068da5597db3f24da4b1f54731c168
crypto: ux500 - fix error return code in hash_dma_final()

Fix to return a negative error code from the error handling
case instead of 0, as returned elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ux500/hash/hash_core.c