Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1030392ybj; Tue, 5 May 2020 11:43:54 -0700 (PDT) X-Google-Smtp-Source: APiQypJ799TzjiSSz0JqldmjMoQMiuxQ97QjnLTFrCw0mcH/mDnwyGyX6jiWN7svnmASb4B7iHAw X-Received: by 2002:a17:906:855a:: with SMTP id h26mr4249459ejy.56.1588704234575; Tue, 05 May 2020 11:43:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588704234; cv=none; d=google.com; s=arc-20160816; b=AhN+kR0g91bYwTlroflK2OnApqMshP12WNLWu2vV5TFhnLbAS/y8mN9kVcaiDZV2xs q0k2InymiFZEpD6XWYakBgonN0R9Otd1/RAcBg90WYUjGDKfKGCg2kQ1KTfEAJ2EdFwI HdZLjnT3b14Suu+JssuKsouJb3jwzmbylMCp8YKFlbI8K2DFZv/iUtZDYHJfdq4Kp1Bk 12O+ZNc6QvpwEFZ5DGyqQRAKciaNSDjP15NLLaJQvqtsV3iRlM3LbsJ1/0s8A/hM6UWm tVJIg9b1kvioAnsTf9SM1GIF7soWbsP4qwh5KLDc9n7t+h4aGw4pvOxmmSw1PKQl0I9t X92w== 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:from:subject:cc:to:message-id:date; bh=Kcn1Hb32D6Gv2Q5tVvy6N+9Yc8T4ZzsGUpnqtC9l/vc=; b=TJHmrac83B2rd7qF54WV8JZs8fZ22+HM5Ytt1Ntx5H6nRDudajCDWPh0GuLiDJsfEh 3hH2fRl9AcSeK7rZC1C+kb7u5v5WRLvkrB5je/+hpFVO+eUrc2POX7xZF3sYzCDLmake HhrRfeGo3kJcB1gfyfxNH7mDoANtH595L3CUbmlLdkrwPA34AA4YwvZ2icmvDyIYwCuE RWIT39GapkHpzZlLtjwmgIBiO0VYcBOUwzodWlcszTsHMOUWyML2Nd+zoEYbH+typXuU xWny2c1Zb3yLg+jgVtuSpO5ICi7GoAm6hmXoOH2+Cy0rZ3URJKKh2nIVwmBS7IJXcD8y R8Dw== 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 j1si1656229edy.315.2020.05.05.11.43.31; Tue, 05 May 2020 11:43:54 -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 S1729194AbgEESlR (ORCPT + 99 others); Tue, 5 May 2020 14:41:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728180AbgEESlR (ORCPT ); Tue, 5 May 2020 14:41:17 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44ABCC061A0F; Tue, 5 May 2020 11:41:17 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 7D7AE127F93E1; Tue, 5 May 2020 11:41:16 -0700 (PDT) Date: Tue, 05 May 2020 11:41:15 -0700 (PDT) Message-Id: <20200505.114115.1085654130355306976.davem@davemloft.net> To: yanaijie@huawei.com Cc: michael.chan@broadcom.com, ast@kernel.org, daniel@iogearbox.net, kuba@kernel.org, hawk@kernel.org, john.fastabend@gmail.com, sumit.semwal@linaro.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org Subject: Re: [PATCH net-next] net: bnxt: Remove Comparison to bool in bnxt_ethtool.c From: David Miller In-Reply-To: <20200505074608.22432-1-yanaijie@huawei.com> References: <20200505074608.22432-1-yanaijie@huawei.com> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 05 May 2020 11:41:17 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jason Yan Date: Tue, 5 May 2020 15:46:08 +0800 > Fix the following coccicheck warning: > > drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:1991:5-46: WARNING: > Comparison to bool > drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:1993:10-54: WARNING: > Comparison to bool > drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c:2380:5-38: WARNING: > Comparison to bool > > Signed-off-by: Jason Yan Applied.