Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3719446pxk; Tue, 22 Sep 2020 00:18:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx51h8Mwcq7Jz5V6uOlUf3B68Opg+YkkoW15eSTSVRCWMLqEqCZqdCCYvb6FQGXSo/ArCLb X-Received: by 2002:a17:906:1644:: with SMTP id n4mr3592949ejd.332.1600759135068; Tue, 22 Sep 2020 00:18:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600759135; cv=none; d=google.com; s=arc-20160816; b=jUsVfReNeeHMaYPkf9QPrVCfcs3MYR6bcFnk4D6QLbPIpy2mMLzgqUGo4V5VwufbKV bWxci/Dj9ET4u87x6vBCsyRPG+sYrP4Rgzn9PDuNxSqbDjQdZSuAlxDX2l20fuBwjSyI oTSAl0osCxA7ZH8ULWrqOfC4Un/ePRwQAh6a7AsznIkVuwjBcxTzpqbBG6Jfjy/Oh5LE wNAZF5dH1eF3GkkjsOH/99+Cs2NmPueRZ+97Zt1yfXWWs+wYisR4gVOsUAUqFgFIwVHJ Xw6UlZT5EYLlrTiGapD/16tn41i0fWbCSh68TPuMlaDXeJTjiYh79EZpRcNMLkpUfGdt R45w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dmarc-filter:sender:dkim-signature; bh=H6+b2hhsCoLvCD79auj5ZTU0L3bBdiYLI0ppZxRkCfo=; b=Xk2+DNQINWTARaGiv5rSo1+KhGht/0ADvnVVtY21EwMHeLAGz05RtLTN5VMs6X/eS8 xn9DYxnSeOy2IJ1ZjLiqdsLAKBEZa6XAw8+T+8GLsNe/2nQhBHxe06m6RwbRyRqzeKXD N5/mYJ8GYwKGgwS7ab8/4HphcQhWMXvJmZTX7ELQ9Wk4PAzRDwZYwa6VIHSa+8q9iupW 9ObQxADoaZ8BPPsOl1OcaQx+JHVs6AqLyhT1jarQbLRoKeg1R0aariPXG+ZTxbw9WQAb 107sSqjwYYZ7Vr8QRu7DWZ2tbXJrJ9z0brFJg/+6Q6HTuqvYnBmNfwM9ZUKibmgXBMLL 6tAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b="SbOp/Mha"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 h19si10421195edv.301.2020.09.22.00.18.31; Tue, 22 Sep 2020 00:18:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b="SbOp/Mha"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729714AbgIVHSA (ORCPT + 99 others); Tue, 22 Sep 2020 03:18:00 -0400 Received: from z5.mailgun.us ([104.130.96.5]:32438 "EHLO z5.mailgun.us" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729586AbgIVHSA (ORCPT ); Tue, 22 Sep 2020 03:18:00 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1600759079; h=Date: Message-Id: Cc: To: References: In-Reply-To: From: Subject: Content-Transfer-Encoding: MIME-Version: Content-Type: Sender; bh=H6+b2hhsCoLvCD79auj5ZTU0L3bBdiYLI0ppZxRkCfo=; b=SbOp/MhaS4id2X/C9DRMGAc5h3GW3D5gIV5a5LFmZrshy7HRmSoegDtHJgMzAmAUPd5J6gwP akCX/4lS5wdUXaDGr3g7+tyNCDVTnMa7upitMl4b6e/75iNE+7fyBpw2EhEjopBTa45IwYST 2hD4rYMrtRwq1Sbdn/94YKcQK6w= X-Mailgun-Sending-Ip: 104.130.96.5 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-west-2.postgun.com with SMTP id 5f69a5274ab73023a7b1e93e (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 22 Sep 2020 07:17:59 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 69895C433CB; Tue, 22 Sep 2020 07:17:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,BAYES_00, MISSING_DATE,MISSING_MID,SPF_FAIL,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 96742C433F1; Tue, 22 Sep 2020 07:17:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 96742C433F1 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] rtlwifi: rtl8192ee: use true,false for bool variable large_cfo_hit From: Kalle Valo In-Reply-To: <20200919074412.3459163-1-yanaijie@huawei.com> References: <20200919074412.3459163-1-yanaijie@huawei.com> To: Jason Yan Cc: , , , , , , , Jason Yan , Hulk Robot User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.5.2 Message-Id: <20200922071759.69895C433CB@smtp.codeaurora.org> Date: Tue, 22 Sep 2020 07:17:59 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Jason Yan wrote: > This addresses the following coccinelle warning: > > drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c:721:27-47: > WARNING: Comparison of 0/1 to bool variable > drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c:722:3-23: WARNING: > Assignment of 0/1 to bool variable > drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c:725:2-22: WARNING: > Assignment of 0/1 to bool variable > > Reported-by: Hulk Robot > Signed-off-by: Jason Yan Patch applied to wireless-drivers-next.git, thanks. a03efb41bb15 rtlwifi: rtl8192ee: use true,false for bool variable large_cfo_hit -- https://patchwork.kernel.org/patch/11786679/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches