Re: [PATCH] crypto: keembay: Fix dma_unmap_sg() nents value

From: Herbert Xu
Date: Fri Jul 18 2025 - 06:57:13 EST


On Mon, Jun 30, 2025 at 10:57:06AM +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: 472b04444cd3 ("crypto: keembay - Add Keem Bay OCS HCU driver")
> Signed-off-by: Thomas Fourier <fourier.thomas@xxxxxxxxx>
> ---
> drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt