Re: [PATCH -next] crypto: geode -: use DEFINE_SPINLOCK() for spinlock
From: Herbert Xu
Date: Fri Apr 16 2021 - 07:29:42 EST
On Tue, Apr 06, 2021 at 08:00:03PM +0800, Huang Guobin wrote:
> From: Guobin Huang <huangguobin4@xxxxxxxxxx>
>
> spinlock can be initialized automatically with DEFINE_SPINLOCK()
> rather than explicitly calling spin_lock_init().
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Guobin Huang <huangguobin4@xxxxxxxxxx>
> ---
> drivers/crypto/geode-aes.c | 4 +---
> 1 file changed, 1 insertion(+), 3 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