[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Yv9uP+Q0qJvwnMvj@gondor.apana.org.au>
Date: Fri, 19 Aug 2022 19:04:31 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Yang Shen <shenyang39@...wei.com>
Cc: davem@...emloft.net, linux-kernel@...r.kernel.org,
linux-crypto@...r.kernel.org, wangzhou1@...ilicon.com,
liulongfang@...wei.com
Subject: Re: [PATCH] crypto: hisilicon/qm - fix missing destroy qp_idr
On Sat, Aug 13, 2022 at 06:34:52PM +0800, Yang Shen wrote:
> From: Weili Qian <qianweili@...wei.com>
>
> In the function hisi_qm_memory_init(), if resource alloc fails after
> idr_init, the initialized qp_idr needs to be destroyed.
>
> Signed-off-by: Weili Qian <qianweili@...wei.com>
> Signed-off-by: Yang Shen <shenyang39@...wei.com>
> ---
> drivers/crypto/hisilicon/qm.c | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists