]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: hisilicon/sgl - fix inconsistent map/unmap direction issue
authorChenghai Huang <huangchenghai2@huawei.com>
Fri, 19 Dec 2025 03:36:19 +0000 (11:36 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 16 Jan 2026 06:02:06 +0000 (14:02 +0800)
commit4154f7d3b1c133b909d20c44ecb8277e8482aa6b
tree14e0d471be7ae681a71377f267ed3ca03cb0ed48
parente7507439628052363500d717caffb5c2241854dc
crypto: hisilicon/sgl - fix inconsistent map/unmap direction issue

Ensure that the direction for dma_map_sg and dma_unmap_sg is
consistent.

Fixes: 2566de3e06a3 ("crypto: hisilicon - Use fine grained DMA mapping direction")
Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com>
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/sgl.c