Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7634798ybl; Tue, 24 Dec 2019 06:10:51 -0800 (PST) X-Google-Smtp-Source: APXvYqzNC/vuHVY+LhJ89jY642Qel5wVsWxCAGA3t02sZWYVM2n60veNz9R5tUO2MiUdax7mf5FI X-Received: by 2002:a05:6830:1d91:: with SMTP id y17mr36714934oti.276.1577196651508; Tue, 24 Dec 2019 06:10:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577196651; cv=none; d=google.com; s=arc-20160816; b=Hq9hdf3MDa9VbcNuqAQu80SiYfzAcsbEzlC5PdNK4tWAr45W63kYnF65aRFbpbhgBE 7Lt/gIEtp9Tm5yih3+yoeM/iczegZJpjACDpMnqDYy9UhvLyueHc5nugsYGkASo9KP5y AEQBilPc95ktmWCadC23NDcaByN334j2+sHmoUNa8Ju0iqcng3EKnDa7eQYPvMcXCiPj X/M6O81u8oSN06HhrqnWlgjpt5/SRi5LAjZQJUL70HUJho8hmxAkWobRzXnE1pUETJEV m170HUUZiJl5DtuwT5BCT+zcE3pjHvDB3E+t7x8nLOL8WG4/ty4x6DSVTXjGlSp+nQUi 16tg== 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=RVR1gPj2lp+OUAQUJKPFZBoGI40TUjDyXFGizSfXtb8=; b=C/GTbg/+dv6JKWLUJImuZOr6nIntHdoC5+YhWjBEy0CZWz0XmXVFQRa2yQ+F3uXw5P NcyDV5QUCTXtttOd5w9Yvs/o8isKBwrAfQZ/6q3Q8ltdnfaLbdZDTo0IgcwpoP9FkNm5 5JR00bmxReQB4RsbM4rncJtH/EutkI5YwG4twu1L3v18Mj1LY4WPVIGkIWk5Tnhhqquj HcmfmU3oYphC8E9LmUsnbG1fpK/xsmxOzRP8mJT62gYPpXSRbW5JnAHs/+WPz7QvG9NS x8YHoene7wfbH0HtxbBoCAm5QOYc4klT3S4hJJess+rRQvION9HQQqTIsxWZCUbFJzq7 YuHw== 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 x22si12149145otp.107.2019.12.24.06.10.40; Tue, 24 Dec 2019 06:10:51 -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 S1726284AbfLXOI6 (ORCPT + 99 others); Tue, 24 Dec 2019 09:08:58 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:50202 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726140AbfLXOI5 (ORCPT ); Tue, 24 Dec 2019 09:08:57 -0500 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id A1AA36F143AE94FC769C; 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:47 +0800 From: zhengbin To: , , , , CC: Subject: [PATCH -next 6/6] brcmfmac: use true,false for bool variable Date: Tue, 24 Dec 2019 22:16:06 +0800 Message-ID: <1577196966-84926-7-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/broadcom/brcm80211/brcmfmac/fwsignal.c:911:2-24: WARNING: Assignment of 0/1 to bool variable Reported-by: Hulk Robot Signed-off-by: zhengbin --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c index 2bd892d..5e1a11c 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c @@ -908,7 +908,7 @@ static u8 brcmf_fws_hdrpush(struct brcmf_fws_info *fws, struct sk_buff *skb) wlh += wlh[1] + 2; if (entry->send_tim_signal) { - entry->send_tim_signal = 0; + entry->send_tim_signal = false; wlh[0] = BRCMF_FWS_TYPE_PENDING_TRAFFIC_BMP; wlh[1] = BRCMF_FWS_TYPE_PENDING_TRAFFIC_BMP_LEN; wlh[2] = entry->mac_handle; -- 2.7.4