Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1452321rwb; Fri, 19 Aug 2022 04:06:40 -0700 (PDT) X-Google-Smtp-Source: AA6agR6DKrMRBm2zj9vMZC3c6v9oAiU13cG6TpKVQiGkxt1r5nBCs81LYKeoklDG98haUIGCRbur X-Received: by 2002:a05:6402:1cab:b0:445:d67f:5323 with SMTP id cz11-20020a0564021cab00b00445d67f5323mr5768833edb.100.1660907200389; Fri, 19 Aug 2022 04:06:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660907200; cv=none; d=google.com; s=arc-20160816; b=Up+H1hFhp7MQnbBr3uvLMeNnSjBW5QAj1gOzPVuQzqo1/Y74mIMm/SUGzb/JpZJ83Q aT9jF5gHmH0VbZCIgp8G5rv75M877BNpUIhDkv2LRmvgnDukfbIL0oavxsy8Qkm6armr HKEtFVRnQZ78Ezp3uhSGpvRlrmmHgw3/zRaDqBFl9OeFfPQ5OUr12LZde3zgC3WdF5ci 32u20cNjic3n6z65fBk29fgskVUHe0yunLQBSXcLVxzsY9Cf6E+0gZZSl544v6NALaYx viV4WEh3LGGh1kfzkS4mh8wiKSJJWJsS3RUghXpN5cgdJIzISjVGL0uSkZA+Wm5pPsZQ 6EvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=U9dFs0CmAQw3czSLEu2yEEovqeqY9EuB1Tsh0M2luh0=; b=Du+OUpedmpenhnsxzQbHefctLmA+dTh07gjR7iTldTBOTN/FpEHHQ1QHUpph94yhB4 j0si6Lo5RtO1TPp2K1K8iVXouMsdrJdXF7AIZ88Emz7teSAQui81yV5qfl8e2mVK2nPS /l4g6XOqtPXDi1wHGZxt7wNjER2JPVLQmRx+7N+VJDlvnvEZpq9/FjsDefFPEf6FvCXo a5hLGUid6yOVBZoO7abCMb7S9iQ019RVVBog9vrxZ1dxfKfSJoFqjSIoVuYmZNu5kJ2R KWLsdFhkHIX3OzHBkShZ7B5tsTAp0xIn0m7m3o8aCGLzxXpc5wamotibp5Yr0iy4z6en bIrg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dm16-20020a170907949000b00734b2821879si2724186ejc.898.2022.08.19.04.06.14; Fri, 19 Aug 2022 04:06:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348530AbiHSLFD (ORCPT + 99 others); Fri, 19 Aug 2022 07:05:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348525AbiHSLEk (ORCPT ); Fri, 19 Aug 2022 07:04:40 -0400 Received: from fornost.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DF25B7ECD; Fri, 19 Aug 2022 04:04:35 -0700 (PDT) Received: from gwarestrin.arnor.me.apana.org.au ([192.168.103.7]) by fornost.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1oOznj-00CpnL-RV; Fri, 19 Aug 2022 21:04:32 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 19 Aug 2022 19:04:31 +0800 Date: Fri, 19 Aug 2022 19:04:31 +0800 From: Herbert Xu To: Yang Shen Cc: davem@davemloft.net, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, wangzhou1@hisilicon.com, liulongfang@huawei.com Subject: Re: [PATCH] crypto: hisilicon/qm - fix missing destroy qp_idr Message-ID: References: <20220813103452.26295-1-shenyang39@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220813103452.26295-1-shenyang39@huawei.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Sat, Aug 13, 2022 at 06:34:52PM +0800, Yang Shen wrote: > From: Weili Qian > > 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 > Signed-off-by: Yang Shen > --- > drivers/crypto/hisilicon/qm.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt