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

Herbert Xu herbert at gondor.apana.org.au
Sat Sep 20 22:24:24 AEST 2025


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 at vger.kernel.org>
> Signed-off-by: Thomas Fourier <fourier.thomas at gmail.com>
> ---
> 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 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-aspeed mailing list