Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp975111pxb; Thu, 5 Nov 2020 19:32:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJyRVXo1BqKdxgOOulxoq0++hbVtYPYAB2jomykWgE/5qcwlnpbRx4wR0ewsqwzAkBtAeASR X-Received: by 2002:a50:ef12:: with SMTP id m18mr6012999eds.313.1604633531438; Thu, 05 Nov 2020 19:32:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604633531; cv=none; d=google.com; s=arc-20160816; b=x5fAMRx+0rT0w4U353qOiyNN+iQ7vwcZJoywgiexSL+1TJXBScEugOxjHdLpKUyIjY r/IDq0r83weIv0XO0YSA2/x0IXuiCLghCqAw7l+6xTNFMNjuDe1E9zaQtH2jlr9xdtIM bolyjCoyKpYql2+LVRb+j2FobjPQYn1spUfs4flZ0XA3RBd8lMIVAkH4Nr5ZJeHqIgMQ hq7fQSNKTVm89nM7frnFqLZ78yd3U3sP8PYp0og3M5rbuIq0j9c4GTGEs3pmYuyNEviC bqITI2WITQjd9Xy7/mD7rWjn0HBNSMEIZRfiPgODXeIY0n5wBlFvqgUBqbbOCm7p1XvO 6iMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=ioccoCifh8FriSKJiCwe/cPiyOBzu4drNhiXwZu3Tro=; b=0ORZULgd2d1cYmaJn2Oo8BGHu0gNhMzS20eDO4SbbiR1gDmBmrBvmnifZio2lfMDXK NjM/qPHq54F0U7vQJDpu5yxxiltH9JkEcjwVZ5lBCvqLkJqp7ZAhHcWnfrnyHGhqTAlT sbbFy5JXTQFiCqzFiZshhZN6aBWmQfgeGtPucAia+jlYiiKIO6AxUpKq91I2nRcpNAZW vFjMQoS7kmnIrAJLMKxsfOaturpzBQBK496lw5vomI/Wsl5vgAhU2KXAcD1SwMx09M/X CnW1/r4hEbcsfBHrAa7zFI0SHJn6KVpdmQCwi9pGJ+FsKWxwLJhQWuNFlK5+sglAPuTK 0TPw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t18si2600941eje.652.2020.11.05.19.31.35; Thu, 05 Nov 2020 19:32:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725939AbgKFDa4 (ORCPT + 99 others); Thu, 5 Nov 2020 22:30:56 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:34042 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725830AbgKFDa4 (ORCPT ); Thu, 5 Nov 2020 22:30:56 -0500 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1kasSc-0005kn-Fz; Fri, 06 Nov 2020 14:30:47 +1100 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 06 Nov 2020 14:30:46 +1100 Date: Fri, 6 Nov 2020 14:30:46 +1100 From: Herbert Xu To: Zhang Qilong Cc: davem@davemloft.net, linux-crypto@vger.kernel.org Subject: Re: [PATCH -next] crypto: omap-aes - fix the reference count leak of omap device Message-ID: <20201106033046.GA25372@gondor.apana.org.au> References: <20201027132510.81076-1-zhangqilong3@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201027132510.81076-1-zhangqilong3@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, Oct 27, 2020 at 09:25:10PM +0800, Zhang Qilong wrote: > pm_runtime_get_sync() will increment pm usage counter even > when it returns an error code. We should call put operation > in error handling paths of omap_aes_hw_init. > > Signed-off-by: Zhang Qilong > --- > drivers/crypto/omap-aes.c | 1 + > 1 file changed, 1 insertion(+) Your patch has already been applied: commit 383e8a823014532ffd81c787ef9009f1c2bd3b79 Author: Zhang Qilong Date: Fri Oct 16 17:05:36 2020 +0800 crypto: omap-aes - fix the reference count leak of omap device Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt