On Sat, Sep 24, 2022 at 03:38:31PM +0800, Zhiqi Song wrote: > In hpre_remove(), when the disable operation of qm sriov failed, > the following logic should continue to be executed to release the > remaining resources that have been allocated, instead of returning > directly, otherwise there will be resource leakage. > > Signed-off-by: Zhiqi Song <songzhiqi1@xxxxxxxxxx> > --- > drivers/crypto/hisilicon/hpre/hpre_main.c | 10 ++-------- > 1 file changed, 2 insertions(+), 8 deletions(-) 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