diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-05-18 20:33:54 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-06-10 11:40:16 +0300 |
commit | 6cb3f9b25c55928b95a02b9ed8e87ed653b3cce8 (patch) | |
tree | 16225d9028e5277baeb7d92fcee173c52043be31 /drivers/dma | |
parent | d2765e1b9ac4b2d5a5d5bf17f468c9b3566c3770 (diff) | |
download | linux-6cb3f9b25c55928b95a02b9ed8e87ed653b3cce8.tar.xz |
crypto: sun8i-ss - Fix error codes for dma_mapping_error()
If there is a dma_mapping_error() then return negative error codes.
Currently this code returns success.
Fixes: 801b7d572c0a ("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>
Diffstat (limited to 'drivers/dma')
0 files changed, 0 insertions, 0 deletions