Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1611078ybj; Wed, 6 May 2020 01:46:39 -0700 (PDT) X-Google-Smtp-Source: APiQypIJGITkiLaZ+o1UT6ktSzPWkmbj78+/IRgkkYh0ALdHVzCRJAHcf7ux1q5sKwxMnQLVtgVs X-Received: by 2002:a17:907:4063:: with SMTP id nl3mr429618ejb.237.1588754799336; Wed, 06 May 2020 01:46:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588754799; cv=none; d=google.com; s=arc-20160816; b=lm0BgSDizPxwZHygGMKxdJye81+9vm9wgSvH+kwcilFadcXgkWBFLAuyvn/FBGCNVO e457YjXXi5Is4HahtOP64czV8+Ry3DcLVrpY8jm5y8xm2JSDG0AflBCq8X75aVQk8sPI 5TWQCZbQUV7e9jhRG8mJbsqTlcOrOjOr77eSjD0JEuw+eS1fTFOcqXMxMuc8LU+Nw8SP Xc0X8jCoalmZ129ZpWCtrPRDplh5dKPe/+CylAKtxWdwyreaneBfkIWTPp1ljPCQHl93 QhxHCAqeP4s1MneCuIvC3RPosX2DJ0FSAtpvkV90OONTw3zQkjwsH7IFZLvb8VI+lPnV 38PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:user-agent:cc:to :references:in-reply-to:from:subject:content-transfer-encoding :mime-version:dmarc-filter:dkim-signature; bh=Cq0w218bAG5z/ZkdwIfzHBhWjL3hPo37a25LqwxjbIY=; b=UM4wLVsXMtAvJjBXwAVRhOO8QMCLbaPce0Gt4s5at/yVVmUKkSsfvA9ayPeuyU6GQU F8FDg+C2DUOT8eWzPiKt8YnpPvHz8ZPiOyychQylThWgk1QXIjdIvQnCOzwpdzjfY9kO dYIXtlb2bdEurZ9xLsIRk7DXEP+D7ww+WvtW9E8tix5Zq3WlW3nqBchzHRnP72zrNGLB FUdgSgTXLWbPdwVqtKRIg/kFVKgP+3CYhaiYegUZXfV/Mpvn1Jwxdr3+2WdRj9TVe4rs Lxfh9yv/zJC6raAPI9YZG5z9DHMOgq5uCnv99RlcJqV6nWt6JGq5Gcl+m6IOmtYA+Uhv Dpew== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b="dea/0kxL"; 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 i17si701476edu.511.2020.05.06.01.46.16; Wed, 06 May 2020 01:46:39 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b="dea/0kxL"; 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 S1728681AbgEFIp2 (ORCPT + 99 others); Wed, 6 May 2020 04:45:28 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:49635 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728296AbgEFIp2 (ORCPT ); Wed, 6 May 2020 04:45:28 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1588754727; h=Date: Message-Id: Cc: To: References: In-Reply-To: From: Subject: Content-Transfer-Encoding: MIME-Version: Content-Type: Sender; bh=Cq0w218bAG5z/ZkdwIfzHBhWjL3hPo37a25LqwxjbIY=; b=dea/0kxLoAHc8Ian4siLmNaLxKIilgJE/Ug2K9DXVEJU1qyvwnZIkkSueQYFwKlYO8LTWCRv RbadQDTEoNR+YYX3GdKEhuXdTcFDeSUGwZWENgpDfVeQnOe07QoHX/hp1xeO196IDWkS2oHK 4Swulh9jaQwdoxaSPX8XzZicnV8= X-Mailgun-Sending-Ip: 104.130.122.26 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 mxa.mailgun.org with ESMTP id 5eb27921.7f3179ba2688-smtp-out-n05; Wed, 06 May 2020 08:45:21 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 57C09C433BA; Wed, 6 May 2020 08:45:21 +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=0.5 required=2.0 tests=ALL_TRUSTED,MISSING_DATE, MISSING_MID,SPF_NONE 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 59FF6C433F2; Wed, 6 May 2020 08:45:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 59FF6C433F2 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=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] b43: remove Comparison of 0/1 to bool variable in phy_n.c From: Kalle Valo In-Reply-To: <20200504113300.40895-1-yanaijie@huawei.com> References: <20200504113300.40895-1-yanaijie@huawei.com> To: Jason Yan Cc: , , , , , , Jason Yan User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.5.2 Message-Id: <20200506084521.57C09C433BA@smtp.codeaurora.org> Date: Wed, 6 May 2020 08:45:21 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Jason Yan wrote: > Fix the following coccicheck warning: > > drivers/net/wireless/broadcom/b43/phy_n.c:5510:19-32: WARNING: > Comparison of 0/1 to bool variable > > Signed-off-by: Jason Yan Patch applied to wireless-drivers-next.git, thanks. e2b9ac590810 b43: remove Comparison of 0/1 to bool variable in phy_n.c -- https://patchwork.kernel.org/patch/11525529/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches