Search Linux Wireless

Re: [PATCH] rtlwifi: use true,false for bool variable in rtl_init_rfkill()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jason Yan <yanaijie@xxxxxxxxxx> wrote:

> The 'blocked' is a bool variable, and '==' expression itself is bool
> too. So no need to convert it to 0/1.
> 
> This fixes the following coccicheck warning:
> 
> drivers/net/wireless/realtek/rtlwifi/base.c:508:13-41: WARNING:
> Comparison of 0/1 to bool variable
> 
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>

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

fb1a9fc550cf rtlwifi: use true,false for bool variable in rtl_init_rfkill()

-- 
https://patchwork.kernel.org/patch/11510335/

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



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux