Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2805228pxu; Mon, 14 Dec 2020 11:16:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJyFVAOOlsVBHa/TvFZbjyZQ4MShAZ/b1oGH5z+crDb0V+PtEY0EAHpKAX5mBTNyBZhdXn5O X-Received: by 2002:a05:6402:d08:: with SMTP id eb8mr13181577edb.271.1607973385574; Mon, 14 Dec 2020 11:16:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607973385; cv=none; d=google.com; s=arc-20160816; b=Q7iRurDjhcRJfly5c1/p83YMo23BKksHpIZKQq3OO+zler+PRKnOep9tnF0M0Dq7RY k5WV8wuQHev2zTainlHjVSvvbfehQedetlptLGlywRF89TMcn8eXMYcnavCo36A30y7z d8TGz1Mk6VQuVHqu0czMHSBpiG3Z/q42EEjXR6xgWWaVkZh11Zf2SxIgg5xhQ2mDz3CG ZwX5/NdckkhQKIZAutRotsOnBy8DINFZnasIrlnAh680xQp2C0KaOiTG+6d+xnNJu0V9 bglq64l1yWVqFUgA5EZF7RGuUYXg3ktj8a2ePhlQ/FMYnL8eNcpaQseIB+4j9ZOJ3mmN Sdsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:dkim-signature :date; bh=/SVgkc15Zy0Y4GQAC1HcAMD2upN4KdTJh3xuM4mfmn0=; b=qiqr0Yv9lJu0WBr/He+8OBIklyF0UTS4C89sbn1JE6exFT1EEqUzS3ELnG1qbVnZPy DSKgpeKIDbh+9WMn1h8fIhXqi5xZHZzYEjCzVEz20xlGBJS7TqSSGqKkZbRAe215P7T6 60arLAdkLSLJnb2dXlUnzsLl8paDvdfRY1Ynmj9iav6DWurZPXIx97OQVzen/WPd2OM3 ZAarvAIM0NanKC5mzntEzAwF5lvxX13VXT8G/5Cdy9Ma8kBsuwjCIrj6hZurE18hD8sw 1SjhDa38R1Hs10wEbIL/5WxkROCqWTtAaUNgyS3g0FtsSduA77dCB4Uu4IkhVL1AsGN1 YGLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mmVFQJ3s; 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 dg28si11009595edb.167.2020.12.14.11.16.01; Mon, 14 Dec 2020 11:16:25 -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=mmVFQJ3s; 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 S2502313AbgLNTEe (ORCPT + 99 others); Mon, 14 Dec 2020 14:04:34 -0500 Received: from mail.kernel.org ([198.145.29.99]:53124 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2407785AbgLNTEd (ORCPT ); Mon, 14 Dec 2020 14:04:33 -0500 Date: Mon, 14 Dec 2020 11:03:51 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607972633; bh=tUbgPIb0kdLyYxebsOXCvImkUd1kKwQiIDvtChZEX+8=; h=From:To:Cc:Subject:In-Reply-To:References:From; b=mmVFQJ3sq3E0oBF2/dK3TgcpGT4M3MDoRsYsuOOt3nikDIwXKkwOkd6BNED/FkKMd ghZm+ryLLtIN47yHqYcqhN9wrl05vlDgQKn9ToEG4kksIcT1NNax7Amfrlrg5PQBD6 JuF5dc4JRCtJQ5/m/lD50jBtlaWtvum7YqOoPaRqm4jDmo6k84EC8BqdYW3uXbW34A 31LAMGpq87x4PhjAlUbA+rthQPr7mElmgD3tn0TSDbHgijt+vkEBj/DzkinVUt83nG NQNey5XPSRKqzpRFa5R/6Hzrf8MqnS1Z9ywg/vE5MmtoHNdpq9VRDbytnwEcv63Usx 2UZxpyKFConOQ== From: Jakub Kicinski To: Leon Romanovsky Cc: Vasyl Gomonovych , tariqt@nvidia.com, 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: <20201214110351.29ae7abb@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20201214111608.GE5005@unreal> References: <20201212090234.0362d64f@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20201214103008.14783-1-gomonovych@gmail.com> <20201214111608.GE5005@unreal> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 14 Dec 2020 13:16:08 +0200 Leon Romanovsky wrote: > 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. Yes, please! I'm glad I'm not the only one who feels this way! :)