[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1577196966-84926-3-git-send-email-zhengbin13@huawei.com>
Date: Tue, 24 Dec 2019 22:16:02 +0800
From: zhengbin <zhengbin13@...wei.com>
To: <yhchuang@...ltek.com>, <kvalo@...eaurora.org>,
<davem@...emloft.net>, <linux-wireless@...r.kernel.org>,
<netdev@...r.kernel.org>
CC: <zhengbin13@...wei.com>
Subject: [PATCH -next 2/6] cw1200: use true,false for bool variable
Fixes coccicheck warning:
drivers/net/wireless/st/cw1200/txrx.c:718:6-16: WARNING: Assignment of 0/1 to bool variable
Reported-by: Hulk Robot <hulkci@...wei.com>
Signed-off-by: zhengbin <zhengbin13@...wei.com>
---
drivers/net/wireless/st/cw1200/txrx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/st/cw1200/txrx.c b/drivers/net/wireless/st/cw1200/txrx.c
index 2dfcdb1..400dd58 100644
--- a/drivers/net/wireless/st/cw1200/txrx.c
+++ b/drivers/net/wireless/st/cw1200/txrx.c
@@ -715,7 +715,7 @@ void cw1200_tx(struct ieee80211_hw *dev,
};
struct ieee80211_sta *sta;
struct wsm_tx *wsm;
- bool tid_update = 0;
+ bool tid_update = false;
u8 flags = 0;
int ret;
--
2.7.4
Powered by blists - more mailing lists