mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
crypto: qce - fix error return code in qce_skcipher_async_req_handle()
commita8bc4f5e7aupstream. Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes:1339a7c3ba("crypto: qce: skcipher: Fix incorrect sg count for dma transfers") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Thara Gopinath <thara.gopinath@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
bd619678f6
commit
fbbd050e05
1 changed files with 6 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue