Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7632907ybl; Tue, 24 Dec 2019 06:09:20 -0800 (PST) X-Google-Smtp-Source: APXvYqz4bb7iLf113jDz4AoUs/Hjd78AnwSpDtZi5ftU+8b081LGR6s34WKwsn/prjXJVENgKqVE X-Received: by 2002:a05:6830:596:: with SMTP id c22mr34632799oth.188.1577196560270; Tue, 24 Dec 2019 06:09:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577196560; cv=none; d=google.com; s=arc-20160816; b=Ri1a0rtsgzJRzkVeLbKaKGC+v1VR4THQIiGZ5ti2Mf0hbrSQu1kYEKq8UjwJ/Pymyb 5FsUnu0/2/oeZP5HMYsXoGCkgMqE4EDJRLwsTPIoHXmWm8X6ChfwPzHAnbu0kdOBoBkA vFlzFwk5o0ezLLSgg5ztcs+WvETeM80bXJiFj7EJ+VH7uf22lBMXpLMrYA4HaHtkGYCN e6+BmITXfVrsxhZVqL0HplCYblMVPCs7EPULlfb5ayhTwvoPydEFpjIW+8EGCrC4BoC6 ZhvXayoTbb6xoV13csREiQLeTX0C0MESl9k0aBdtFrnFW5REwJiZfjPGPDNUvVD6X3Kp j9Uw== 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=BD3zJFvMpcEh/t62Yje98f0cUQC/HcaWgq8KQTV1uZk=; b=mcHRVqc5qkSNgDTowfC2kxb/34Fs1mRbIyORfyTB5zFK4se+0M7CFjKAFZ18fqP73W oO+Serk/xB1qTH0ueHcKcVjmtyIem853fjF2yVobguILuLmTQegoPGrwcbAmkJa9UT6G 2XKKmxHuRQcq29CjeF+ghZl2SfVKGm2nW2FXaq9BGXfiKq111a6CVorRUgYpUhYnlBr5 pKvDwYIJ72dt9d/VvofPLt+6bcghf68MZNfqvUj9pRKC/ryyohxeFJKVJvpJmqSLUS+3 U+hj6QKOpCYAgd7ccnEp4nMhT7UePF64e5VMSegTmbXAsYMxnAWwbo8R1Zv1SmmloLl8 iCOA== 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.09.02; Tue, 24 Dec 2019 06:09:20 -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 S1726330AbfLXOI6 (ORCPT + 99 others); Tue, 24 Dec 2019 09:08:58 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:50222 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726183AbfLXOI5 (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 AA9C113BE3FAB42D3B6C; 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 1/6] rtw88: use true,false for bool variable Date: Tue, 24 Dec 2019 22:16:01 +0800 Message-ID: <1577196966-84926-2-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/realtek/rtw88/phy.c:1437:1-24: WARNING: Assignment of 0/1 to bool variable Reported-by: Hulk Robot Signed-off-by: zhengbin --- drivers/net/wireless/realtek/rtw88/phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtw88/phy.c b/drivers/net/wireless/realtek/rtw88/phy.c index a3e1e95..eea9d88 100644 --- a/drivers/net/wireless/realtek/rtw88/phy.c +++ b/drivers/net/wireless/realtek/rtw88/phy.c @@ -1434,7 +1434,7 @@ static void rtw_load_rfk_table(struct rtw_dev *rtwdev) rtw_load_table(rtwdev, chip->rfk_init_tbl); - dpk_info->is_dpk_pwr_on = 1; + dpk_info->is_dpk_pwr_on = true; } void rtw_phy_load_tables(struct rtw_dev *rtwdev) -- 2.7.4