diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-02-06 09:01:53 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-02-14 08:39:33 +0300 |
commit | bcdda4301bdc4955d45f7e1ffefb6207967b067e (patch) | |
tree | aee08d3b44cac598bb894d272f4297adb95f1d20 /crypto | |
parent | 72bc4e71dbeedee0a446bcbc37c9bb25449072b7 (diff) | |
download | linux-bcdda4301bdc4955d45f7e1ffefb6207967b067e.tar.xz |
crypto: crypto4xx - Call dma_unmap_page when done
In crypto4xx_cipher_done, we should be unmapping the dst page, not
mapping it.
This was flagged by a sparse warning about the unused addr variable.
While we're at it, also fix a sparse warning regarding the unused
ctx variable in crypto4xx_ahash_done (by actually using it).
Fixes: 049359d65527 ("crypto: amcc - Add crypt4xx driver")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Tested-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions