Re: [PATCH net-next] rtlwifi: rtl8192de: Use DEFINE_SPINLOCK() for spinlock

From: Kalle Valo
Date: Sat Apr 17 2021 - 13:34:44 EST


Huang Guobin <huangguobin4@xxxxxxxxxx> 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>

Patch applied to wireless-drivers-next.git, thanks.

e9642be26a37 rtlwifi: rtl8192de: Use DEFINE_SPINLOCK() for spinlock

--
https://patchwork.kernel.org/project/linux-wireless/patch/1617711406-49649-1-git-send-email-huangguobin4@xxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches