[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210416112941.GC16633@gondor.apana.org.au>
Date: Fri, 16 Apr 2021 21:29:41 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Huang Guobin <huangguobin4@...wei.com>
Cc: "David S. Miller" <davem@...emloft.net>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] crypto: ixp4xx -: use DEFINE_SPINLOCK() for
spinlock
On Tue, Apr 06, 2021 at 08:02:57PM +0800, Huang Guobin wrote:
> From: Guobin Huang <huangguobin4@...wei.com>
>
> spinlock can be initialized automatically with DEFINE_SPINLOCK()
> rather than explicitly calling spin_lock_init().
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Guobin Huang <huangguobin4@...wei.com>
> ---
> drivers/crypto/ixp4xx_crypto.c | 7 ++-----
> 1 file changed, 2 insertions(+), 5 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