Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2473738pxu; Mon, 14 Dec 2020 03:18:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJyISbENAZ6S62KKnaEjpEmn4is7Q2v3NjwnGFvv7iPdw4ndPhjDE5X+8fFyhtST3FVFJJuY X-Received: by 2002:aa7:c94b:: with SMTP id h11mr23948179edt.322.1607944728855; Mon, 14 Dec 2020 03:18:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607944728; cv=none; d=google.com; s=arc-20160816; b=cDqL8fbjb8MEwQo8YCF3XA6plFROQdjn/YoeHohpxDdky84N9o2rFMX6jDM8KM57LB J3Sn+tczGXhMaHI1/uyU0fuG1P87cV8cI8OiHkY8kEsoFr6/UxHtt2jrU9pnodiKYPWt Jn2gnQXInlV5dHlKcX3cxpW6hEuyfh8QHMUlHChE+2xeNSruX1czk5T27ViEaQyx7FsW ht2K+DhE2l0D3wJCShxx7WbXQvfTWPiHlUCFAcjCsy/67lfIMFO6tAMAdwIheX1Eayd6 93AI0lpxxGPIymYShWwe/o6VeV3ygvVkkjXDwA9tXiPSTt7DEEmPkZr5yGE7TypcDoeT cU+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=EAQo+RxgWFWuLGmGx0I1fNs43vN8cVTRIWdFUN3DF5A=; b=a2XjMkLnAlzrKlA56Vad8RZax15LKs8vQcfQ84j0opuC3RE9OqrZF0trTwQBZehP5d oLBxPibRRk4Jabkc2rAvJ0Dd1d9Zj/zppgBFV1TcwQQNCffBx/koBKnCsU9eQ/ZMtLQ+ SJL7VGz6jdPxeBk+dyCjRJDpJiH+p7EcoTdI1Yu0Sbew4o3EEw5N8VVwLxgJnA1fTak3 rtO7V93LamI9+ah2/FpKK640pvFSllHICoI74yWes25XXEUNi4lft9cWn/sNAme6fDBz 8cMrlXDe7/WPU+8yFCIpU2bA2qMGNl3PFz5BQeoRrHMK6VI9P5NOS7avodHcSVze3Ucj h8AA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P5cOmZU6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id os24si9863709ejb.680.2020.12.14.03.18.26; Mon, 14 Dec 2020 03:18:48 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P5cOmZU6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407603AbgLNLRH (ORCPT + 99 others); Mon, 14 Dec 2020 06:17:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:58470 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725785AbgLNLQx (ORCPT ); Mon, 14 Dec 2020 06:16:53 -0500 Date: Mon, 14 Dec 2020 13:16:08 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607944572; bh=NW4r1Tcxoq5gXK7oXCVu+J52nphOih0Z+rS0DjoWhmg=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=P5cOmZU6g+CgucBWIZXlRMJAYAQjceTR3kOjCivc5aRsLak7N4pVavLGSPd95Rv25 FcF9owVY0eekKqSeZGPxuzgYTZLPm4j7Bh634MiJRcO65vqOcH1IxCOdJAxOFyL6bs 2U0if1B7pbW3XvUO8F80z+3t6kpsy+nSwDY6oZmUzEEcyrGEoUg3NT+iVEVSdmeFuj 6XaFDO5U3dQ1yMLpiJ2ejCFX2sqPYhJOrwzkHxgsDf8ImtjIWISXGLMijNYnIPUwvn +jEWhI2KZIRCcsjftobQir3Xco5YkXgQUxxnEpE4N+YE5r82UgZv6VGN0mqp8nyolZ 6FAuA3kHGe1sg== From: Leon Romanovsky To: Vasyl Gomonovych Cc: tariqt@nvidia.com, kuba@kernel.org, joe@perches.com, "David S. Miller" , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] net/mlx4: Use true,false for bool variable Message-ID: <20201214111608.GE5005@unreal> References: <20201212090234.0362d64f@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20201214103008.14783-1-gomonovych@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201214103008.14783-1-gomonovych@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 14, 2020 at 11:30:08AM +0100, Vasyl Gomonovych wrote: > It is fix for semantic patch warning available in > scripts/coccinelle/misc/boolinit.cocci > Fix en_rx.c:687:1-17: WARNING: Assignment of 0/1 to bool variable > Fix main.c:4465:5-13: WARNING: Comparison of 0/1 to bool variable > > Signed-off-by: Vasyl Gomonovych > --- > - Add coccicheck script name > - Simplify if condition > --- > drivers/net/ethernet/mellanox/mlx4/en_rx.c | 2 +- > drivers/net/ethernet/mellanox/mlx4/main.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Please refrain from sending new version of patches as reply-to to previous variants. It makes to appear previous patches out-of-order while viewing in threaded mode. Thanks