Re: [PATCH v2] crypto: aspeed - Fix dma_unmap_sg() direction

From: Herbert Xu

Date: Sat Sep 20 2025 - 08:24:43 EST


On Wed, Sep 10, 2025 at 10:22:31AM +0200, Thomas Fourier wrote:
> It seems like everywhere in this file, when the request is not
> bidirectionala, req->src is mapped with DMA_TO_DEVICE and req->dst is
> mapped with DMA_FROM_DEVICE.
>
> Fixes: 62f58b1637b7 ("crypto: aspeed - add HACE crypto driver")
> Cc: <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Thomas Fourier <fourier.thomas@xxxxxxxxx>
> ---
> v1->v2:
> - fix confusion between dst and src in commit message
>
> drivers/crypto/aspeed/aspeed-hace-crypto.c | 2 +-
> 1 file changed, 1 insertion(+), 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