[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201214111608.GE5005@unreal>
Date: Mon, 14 Dec 2020 13:16:08 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Vasyl Gomonovych <gomonovych@...il.com>
Cc: tariqt@...dia.com, kuba@...nel.org, joe@...ches.com,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] net/mlx4: Use true,false for bool variable
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 <gomonovych@...il.com>
> ---
> - 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
Powered by blists - more mailing lists