mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
crypto: sun8i-ss - Fix error codes for dma_mapping_error()
[ Upstream commit6cb3f9b25c] If there is a dma_mapping_error() then return negative error codes. Currently this code returns success. Fixes:801b7d572c("crypto: sun8i-ss - add hmac(sha1)") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Corentin Labbe <clabbe.montjoie@gmail.com> Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
6a38eb8fbb
commit
0fdb5f86e7
1 changed files with 4 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue