Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3968809ybz; Mon, 20 Apr 2020 12:55:09 -0700 (PDT) X-Google-Smtp-Source: APiQypKnGi9XZX9BFfEotGfCH3j7vPbt9Gnhz7V4haY3Frq14c39A+oB9yO3bg1OYD1Rx/WZbRyW X-Received: by 2002:aa7:c4cb:: with SMTP id p11mr15871562edr.85.1587412509530; Mon, 20 Apr 2020 12:55:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587412509; cv=none; d=google.com; s=arc-20160816; b=wgREdOBq1K6kY+BSfdr/bgxzeYCh5fqZRtzPlgGdROHHFFq132hucN90HgTjW39EZW BoVUOua5B5Zp2bMCLFMNEMZp+HDzANS9nFWvauTcusSZY5aGoE/xwOssxn/6zy4vf/6P WKgvV3/ymF0zyAATQV3NxnOifPEsh5YP1vsPPzeR0hsRrrxl6p09hn3G/N5i4QfAY+CZ giCNDG2fSQ4yJbZFmct+RcO+Pd3pWpKadjbRnYHBzXUVC7scqibtBnbHkkxBzEKElZ04 yN5Q5cXztwGt8NuEJXHmTgMQPM07myFdYdQ8sPlDUaZ/bD0L6ieDHfefw0CsEWb/vs3z L2sg== 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=hxnzyfwwl35ELW6HjA6zVXXfQUjeJCv1S8fpHRzi4wc=; b=eGoD3dLGIbmmT2UWFWRMPS0AUtI5oUQh7BYp3UlQAyBQ4EPAhFi2RNK6DvXTHvcOU3 XIHCL6M0fim9PFfeFU9CeSaUufvEvqqXoW9Kl8hitZ/WD3jDHkom7j1z/xfqF/46A8mc Rc7fgjjO1HidNz/QKbVzjoQib5K7as+dOzCvN2GQyb3HG+cKBJ+VsVrvtzoH2WAJ024i DVf+0TH2okEDW7UkqKJa6Y6R/y3bHtrvkKOb9jcb9ZqL9Ckqj2yh2xVl5rc3UBVVyAau UzW3Yo3U8RtBZFjWd3yGUyJ5CiPDQvG7b9DBLGFkHhI2JUMPX/yHyA2e8M9iBEF3zJNc Yz9Q== 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 s9si154942ejz.335.2020.04.20.12.54.46; Mon, 20 Apr 2020 12:55:09 -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 S1728058AbgDTTxV (ORCPT + 99 others); Mon, 20 Apr 2020 15:53:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725988AbgDTTxV (ORCPT ); Mon, 20 Apr 2020 15:53:21 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A8C4C061A0C; Mon, 20 Apr 2020 12:53:21 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (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 CE169127FF334; Mon, 20 Apr 2020 12:53:20 -0700 (PDT) Date: Mon, 20 Apr 2020 12:53:19 -0700 (PDT) Message-Id: <20200420.125319.1795816205011903490.davem@davemloft.net> To: yanaijie@huawei.com Cc: aelior@marvell.com, GR-everest-linux-l2@marvell.com, michal.kalderon@marvell.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] qed: use true,false for bool variables From: David Miller In-Reply-To: <20200420042720.18815-1-yanaijie@huawei.com> References: <20200420042720.18815-1-yanaijie@huawei.com> X-Mailer: Mew version 6.8 on Emacs 26.1 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]); Mon, 20 Apr 2020 12:53:21 -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: Mon, 20 Apr 2020 12:27:20 +0800 > Fix the following coccicheck warning: > > drivers/net/ethernet/qlogic/qed/qed_dev.c:4395:2-34: WARNING: > Assignment of 0/1 to bool variable > drivers/net/ethernet/qlogic/qed/qed_dev.c:1975:2-34: WARNING: > Assignment of 0/1 to bool variable > > Signed-off-by: Jason Yan Applied to net-next, thanks.