[PATCH] crypto: rockchip - Fix dma_unmap_sg() nents value
Herbert Xu
herbert at gondor.apana.org.au
Fri Sep 12 21:26:32 PDT 2025
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: <stable at vger.kernel.org>
> Signed-off-by: Thomas Fourier <fourier.thomas at gmail.com>
> ---
> drivers/crypto/rockchip/rk3288_crypto_ahash.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
More information about the linux-arm-kernel
mailing list