Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1098086pxk; Thu, 10 Sep 2020 07:05:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBjmh+F4VWywPQ9IIPJCzq5DDvd8sAwVATyb8+d66pg909LwuHURP//d3NCsgPPC+ji1ar X-Received: by 2002:a17:907:4037:: with SMTP id nk7mr8748586ejb.84.1599746733873; Thu, 10 Sep 2020 07:05:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599746733; cv=none; d=google.com; s=arc-20160816; b=gFD+Oz6/RCxNs9I8INijNxJJZQdZYL0oEQlLrwUwtbY+uMnbfLsrr4Z76Ot9qnmX06 dgWpQTluFXAgqnxH+dS3bO4fNQdskr6nD/xxIzZwGd7Na41oo2lGWDB99OduAfB9E7HC ubyrMMFtfnv9OmP04WCaqtAicrCEVvHYDJnLnTvuIw/DI3NGnZ1JTrEY2H7bf3kckk0S G65qUBtZ7dGcRftqQ3NgqM8N4nh1iSFxDu0rUHmMC7ULv5zs4XUM8Y2clPPlCOne8eKs fgCxcqTgM+3ZVYRW5sn3JDaAZeVLga+YeDbjBOoBqwyRlvAQRZQPKx1+JAmgxB/kc/8v RHTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=7X6wfGDlg+HpEsVvBxL5e7Krq9UxDjxRQEEWLfsTUkE=; b=M69pqZE24yKYZrpKQbt/Omnrf/gfMf9dVj0grHR6Z/XfLOOHNHFMrnVMOZAb1sSu+g sIC1hRBaL2I3r9XvemYkaAkU0jilS3T5UdUhpjJ5tgw2Wii8SBNzf/II16GuHiq8AK20 pdUqYRklvD1CQQ6TwROfJp+t5rtF+npAmqj0LPOh7MoEmethrOFxnwaUX/LefOHLylhQ PPz8x03QV2UzC773tEjViPj0lnhdsHquVtHkC+wdKdzLdVQKboV3bcTUC2uFqaem3SDe pYgvUXlb3Pw31h+TiVM+0Lg8l/K50BrqTsm3MrIgWcxU8CIDi3ncgtMH4P+z0hkGwkMg stpw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lr3si3768247ejb.744.2020.09.10.07.04.39; Thu, 10 Sep 2020 07:05:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730987AbgIJOCg (ORCPT + 99 others); Thu, 10 Sep 2020 10:02:36 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:11777 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730927AbgIJNyt (ORCPT ); Thu, 10 Sep 2020 09:54:49 -0400 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id D7ED8128FEC0F2373102; Thu, 10 Sep 2020 21:52:30 +0800 (CST) Received: from huawei.com (10.90.53.225) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.487.0; Thu, 10 Sep 2020 21:52:22 +0800 From: Zheng Bin To: , , , , , , CC: , Subject: [PATCH -next 1/3] rtlwifi: rtl8188ee: fix comparison pointer to bool warning in phy.c Date: Thu, 10 Sep 2020 21:59:15 +0800 Message-ID: <20200910135917.143723-2-zhengbin13@huawei.com> X-Mailer: git-send-email 2.26.0.106.g9fadedd In-Reply-To: <20200910135917.143723-1-zhengbin13@huawei.com> References: <20200910135917.143723-1-zhengbin13@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.90.53.225] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes coccicheck warning: drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c:1584:14-18: WARNING: Comparison to bool Signed-off-by: Zheng Bin --- drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c b/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c index 63ec5a20b67b..38d4432767e8 100644 --- a/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c @@ -1581,7 +1581,7 @@ static void _rtl88e_phy_path_adda_on(struct ieee80211_hw *hw, u32 i; pathon = is_patha_on ? 0x04db25a4 : 0x0b1b25a4; - if (false == is2t) { + if (!is2t) { pathon = 0x0bdb25a0; rtl_set_bbreg(hw, addareg[0], MASKDWORD, 0x0b1b25a0); } else { -- 2.26.0.106.g9fadedd