[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aHooajz6jhWjXrpf@gondor.apana.org.au>
Date: Fri, 18 Jul 2025 20:56:42 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Thomas Fourier <fourier.thomas@...il.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Andrew Bresticker <abrestic@...omium.org>,
James Hartley <james.hartley@...tec.com>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: img-hash: Fix dma_unmap_sg() nents value
On Mon, Jun 30, 2025 at 11:16:22AM +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: d358f1abbf71 ("crypto: img-hash - Add Imagination Technologies hw hash accelerator")
> Signed-off-by: Thomas Fourier <fourier.thomas@...il.com>
> ---
> drivers/crypto/img-hash.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