Re: [PATCH] crypto: octeontx2 - add missing check for dma_map_single

From: Herbert Xu
Date: Fri Apr 19 2024 - 06:57:41 EST


On Mon, Apr 08, 2024 at 01:59:14AM +0000, Chen Ni wrote:
> Add check for dma_map_single() and return error if it fails in order
> to avoid invalid dma address.
>
> Fixes: e92971117c2c ("crypto: octeontx2 - add ctx_val workaround")
> Signed-off-by: Chen Ni <nichen@xxxxxxxxxxx>
> ---
> drivers/crypto/marvell/octeontx2/cn10k_cpt.c | 4 ++++
> 1 file changed, 4 insertions(+)

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