Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1031102ybj; Tue, 5 May 2020 11:44:40 -0700 (PDT) X-Google-Smtp-Source: APiQypIbuDxjONyYf6lYHBpq7zPvrruku/NobEhXwaBZf7FFOErGNS5U0EC39awRr2WxlTS0cllv X-Received: by 2002:aa7:c1ca:: with SMTP id d10mr4025356edp.152.1588704280247; Tue, 05 May 2020 11:44:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588704280; cv=none; d=google.com; s=arc-20160816; b=pdCY5Uk9Y9fHGCtwwXj5isczc9ljhoSF7J+ElCldzH/XMJea7YgtrmKhTVMTzyfenF rCkDba0RgfylRlS4EBF6OJAykPjhjdf+eyOQkdk4FYg21eFm4yrxFus+X7sul8VmJUc1 mEV+UxvJjKcqYUaBgrLCcfMFxzXnsII4m581zNNQcyTobX70ywprNRqXmTvpkL8iCAwc 6GR2nMz/Yxl6E3jyIOT1rvEXBEiakTw+V9xP3An+Y1fFWMl0367JCpg+59WPgE0kF7bN eN2docgx2c/76T72R2Q9YXXplGfgqHzUmHa3ijeSbd4e1ojA6ABBpRMeHB/ynxvBD9aj PvZw== 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=WB2+CqI2v0edWO1MwDoXFxHN6sm6rcX3x9N92F8zGSk=; b=jNwtZn1JAZ9M6k+hYUAWqkfOiLRSR+L1uEFrpcEWw7sFQvGSkAymqgovBRswJxUeyA vIjKADlCrmYK+FPQBLG3yfZ3cSZKmA6Mq/9ShVoul72zTuORB2nxpXewS5Y8AyjVY9da 3Ocn1emWIPNiDrKFlmpoGjMWMnGjlVhHP7gvSjNFFKp53IHjPH9Q+iFIECCmySNgs2W4 9O9tsu0S6yAZYw2SWFYwNwgNh5hRmkKoiVUgIUgIBWKimOu1VCzCMZjwGEEim7psEev8 Chie+9HcnO85frzzPGpGOxeSYzh1XXtKmyK0d7Q38Du3GhOZses/hfi2RJbB0POBxeqa ZnNg== 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 z13si1659609ede.147.2020.05.05.11.44.16; Tue, 05 May 2020 11:44:40 -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 S1729050AbgEESkm (ORCPT + 99 others); Tue, 5 May 2020 14:40:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728268AbgEESkl (ORCPT ); Tue, 5 May 2020 14:40:41 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5DA8C061A0F; Tue, 5 May 2020 11:40:41 -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 A3A2D127F7213; Tue, 5 May 2020 11:40:39 -0700 (PDT) Date: Tue, 05 May 2020 11:40:38 -0700 (PDT) Message-Id: <20200505.114038.1555352105288277307.davem@davemloft.net> To: yanaijie@huawei.com Cc: aelior@marvell.com, GR-everest-linux-l2@marvell.com, ast@kernel.org, daniel@iogearbox.net, kuba@kernel.org, hawk@kernel.org, john.fastabend@gmail.com, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, andriin@fb.com, kpsingh@chromium.org, skalluru@marvell.com, pablo@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH net-next] net: qede: Use true for bool variable in qede_init_fp() From: David Miller In-Reply-To: <20200505074539.22161-1-yanaijie@huawei.com> References: <20200505074539.22161-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:40:40 -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:45:39 +0800 > Fix the following coccicheck warning: > > drivers/net/ethernet/qlogic/qede/qede_main.c:1717:5-19: WARNING: > Assignment of 0/1 to bool variable > > Signed-off-by: Jason Yan Applied.