mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 21:12:43 +00:00
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 <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Reviewed-by: Thara Gopinath <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>