diff options
author | 2023-02-06 14:01:53 +0800 | |
---|---|---|
committer | 2023-02-14 13:39:33 +0800 | |
commit | bcdda4301bdc4955d45f7e1ffefb6207967b067e (patch) | |
tree | aee08d3b44cac598bb894d272f4297adb95f1d20 /scripts/generate_rust_analyzer.py | |
parent | crypto: octeontx2 - Fix objects shared between several modules (diff) | |
download | wireguard-linux-bcdda4301bdc4955d45f7e1ffefb6207967b067e.tar.xz wireguard-linux-bcdda4301bdc4955d45f7e1ffefb6207967b067e.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions