Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7633343ybl; Tue, 24 Dec 2019 06:09:42 -0800 (PST) X-Google-Smtp-Source: APXvYqwCvZegx9ocOf52hOLDfl263/L3BffO1X/iu7rdfIcjYXDf0tWDqtTgmrSGdMLg2744ZMy9 X-Received: by 2002:a9d:3b5:: with SMTP id f50mr37449452otf.354.1577196582306; Tue, 24 Dec 2019 06:09:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577196582; cv=none; d=google.com; s=arc-20160816; b=v03aG4HWzrPArjhSjytKAFP07bcU9cXaqqNanFBqwYl7tbLnfzC1mBnKabrthVuVXJ sI4TNGtnAwRvQKU+87D+rlJmhJ0TrlFIFhEhjzMhChpDt2KWyYg/+u8lp/nCxLY1Rnxv UIjgNHI60Kh6HVlG78SF6CsY8tzD84nwvpJQEeePPqr9CJHEFIwDCpCUyoDpnCIV4abK fcrvHdoaFV7kKf2mSM2kv+TYl6GFCzoo04JHcAggC0PfRRY3NZlUxhrktLOBC/VlXkMQ 3Cl4cvTE5uZOLWnqA3ODeaTSYPHloRY2JjofHAh2kBe4ZBNtNhRDLKEJ+4viHAIQXcdV C4Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=svM91C3LQx7oc2x0zsH39gBD9GFY7OtD7uCZEzFahoU=; b=rP+jzBg/ZC5z7Tz2m7tL4tbesQsYZWPhUsFEnwLl3+EiWao7aeshost2+hSlxU4okE B4AGl4wtMNEQtHEIW7Lm+Nq7wc+rNVWVxXlnn/VNEw5/h/8Ls2WhEZwMjlKWkdAX9ayu iUpSpaXKa81vkzej0xl64jfPM6Z4aDPE9rx0j0nMvtv6/JD9FNj6M7kl2RCRnX/NL5wR PJgtXOWzyFUN5wkmzmDCQfzQdjtR18LLMPUAE7D8xHYXe0aeHk+cua4U/0fYkA+cviaI +7t2RtO38q2M9xaaRbez1DOdnTb0Ck7aCBwlBTfS9dDSRveshzkWafPmP2ADZxnD4i3F 7eQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 16si10592281ois.140.2019.12.24.06.09.33; Tue, 24 Dec 2019 06:09:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726910AbfLXOJF (ORCPT + 99 others); Tue, 24 Dec 2019 09:09:05 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:46950 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726183AbfLXOJF (ORCPT ); Tue, 24 Dec 2019 09:09:05 -0500 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 7EADC7E081840E20FA98; Tue, 24 Dec 2019 22:08:55 +0800 (CST) Received: from huawei.com (10.90.53.225) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.439.0; Tue, 24 Dec 2019 22:08:46 +0800 From: zhengbin To: , , , , CC: Subject: [PATCH -next 2/6] cw1200: use true,false for bool variable Date: Tue, 24 Dec 2019 22:16:02 +0800 Message-ID: <1577196966-84926-3-git-send-email-zhengbin13@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1577196966-84926-1-git-send-email-zhengbin13@huawei.com> References: <1577196966-84926-1-git-send-email-zhengbin13@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.90.53.225] X-CFilter-Loop: Reflected Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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 Signed-off-by: zhengbin --- 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