Re: [PATCH] crypto: rockchip - Fix dma_unmap_sg() nents value
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2025-09-13 04:26:48
Also in:
linux-crypto, linux-rockchip, lkml, stable
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2025-09-13 04:26:48
Also in:
linux-crypto, linux-rockchip, lkml, stable
On Wed, Sep 03, 2025 at 10:06:46AM +0200, Thomas Fourier wrote:
The dma_unmap_sg() functions should be called with the same nents as the
dma_map_sg(), not the value the map function returned.
Fixes: 57d67c6e8219 ("crypto: rockchip - rework by using crypto_engine")
Cc: <redacted>
Signed-off-by: Thomas Fourier <redacted>
---
drivers/crypto/rockchip/rk3288_crypto_ahash.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)Patch applied. Thanks. -- Email: Herbert Xu [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt