Re: [PATCH] rtlwifi: rtl8723ae: fix warning comparison to bool
From: Kalle Valo
Date: Tue Apr 21 2020 - 08:59:19 EST
Jason Yan <yanaijie@xxxxxxxxxx> wrote:
> Fix the following coccicheck warning:
>
> drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c:617:14-20: WARNING:
> Comparison to bool
> drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c:622:13-19: WARNING:
> Comparison to bool
> drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c:627:14-20: WARNING:
> Comparison to bool
> drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c:632:13-19: WARNING:
> Comparison to bool
> drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c:937:5-13: WARNING:
> Comparison to bool
>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>
Patch applied to wireless-drivers-next.git, thanks.
887e74239805 rtlwifi: rtl8723ae: fix warning comparison to bool
--
https://patchwork.kernel.org/patch/11498041/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches