[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200506084304.5F898C433BA@smtp.codeaurora.org>
Date: Wed, 6 May 2020 08:43:04 +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: remove comparison of 0/1 to bool variable
Jason Yan <yanaijie@...wei.com> wrote:
> The variable 'rtlpriv->rfkill.rfkill_state' is bool and can directly
> assigned to bool values.
>
> Fix the following coccicheck warning:
>
> drivers/net/wireless/realtek/rtlwifi/core.c:1725:14-42: WARNING:
> Comparison of 0/1 to bool variable
>
> Signed-off-by: Jason Yan <yanaijie@...wei.com>
Patch applied to wireless-drivers-next.git, thanks.
1b56bed20212 rtlwifi: remove comparison of 0/1 to bool variable
--
https://patchwork.kernel.org/patch/11517573/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists