[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aMTyeGTWPgsFglQ-@gondor.apana.org.au>
Date: Sat, 13 Sep 2025 12:26:32 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Thomas Fourier <fourier.thomas@...il.com>
Cc: stable@...r.kernel.org, Corentin Labbe <clabbe@...libre.com>,
"David S. Miller" <davem@...emloft.net>,
Heiko Stuebner <heiko@...ech.de>, John Keeping <john@...ping.me.uk>,
linux-crypto@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-rockchip@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: rockchip - Fix dma_unmap_sg() nents value
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@...r.kernel.org>
> Signed-off-by: Thomas Fourier <fourier.thomas@...il.com>
> ---
> drivers/crypto/rockchip/rk3288_crypto_ahash.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists