lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed,  6 May 2020 08:32:57 +0000 (UTC)
From:   Kalle Valo <kvalo@...eaurora.org>
To:     Jason Yan <yanaijie@...wei.com>
Cc:     <pkshih@...ltek.com>, <davem@...emloft.net>,
        <linux-wireless@...r.kernel.org>, <netdev@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>, Jason Yan <yanaijie@...wei.com>
Subject: Re: [PATCH] rtlwifi: use true,false for bool variable in
 rtl_init_rfkill()

Jason Yan <yanaijie@...wei.com> 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@...wei.com>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ