Re: [PATCH] crypto: hisilicon/sec - fix for sgl unmmap problem

From: Herbert Xu
Date: Wed Sep 20 2023 - 01:24:38 EST


On Fri, Sep 15, 2023 at 05:13:29PM +0800, Wenkai Lin wrote:
> When sec_aead_mac_init returns an error code, sec_cipher_map
> will exit abnormally, the hardware sgl should be unmmaped.
>
> Signed-off-by: Wenkai Lin <linwenkai6@xxxxxxxxxxxxx>
> ---
> drivers/crypto/hisilicon/sec2/sec_crypto.c | 1 +
> 1 file changed, 1 insertion(+)

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