[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190822155001.GG29433@mtr-leonro.mtl.com>
Date: Thu, 22 Aug 2019 18:50:01 +0300
From: Leon Romanovsky <leon@...nel.org>
To: YueHaibing <yuehaibing@...wei.com>
Cc: Saeed Mahameed <saeedm@...lanox.com>, davem@...emloft.net,
netdev@...r.kernel.org, linux-rdma@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net/mlx5e: Use PTR_ERR_OR_ZERO in
mlx5e_tc_add_nic_flow()
On Thu, Aug 22, 2019 at 06:52:19AM +0000, YueHaibing wrote:
> Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> ---
> drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
Thanks,
Reviewed-by: Leon Romanovsky <leonro@...lanox.com>
Powered by blists - more mailing lists