[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200607063635.GD164174@unreal>
Date: Sun, 7 Jun 2020 09:36:35 +0300
From: Leon Romanovsky <leon@...nel.org>
To: Hu Haowen <xianfengting221@....com>
Cc: saeedm@...lanox.com, davem@...emloft.net, kuba@...nel.org,
netdev@...r.kernel.org, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net/mlx5: Add a missing macro undefinition
On Sun, Jun 07, 2020 at 01:12:40PM +0800, Hu Haowen wrote:
> The macro ODP_CAP_SET_MAX is only used in function handle_hca_cap_odp()
> in file main.c, so it should be undefined when there are no more uses
> of it.
>
> Signed-off-by: Hu Haowen <xianfengting221@....com>
> ---
> drivers/net/ethernet/mellanox/mlx5/core/main.c | 2 ++
> 1 file changed, 2 insertions(+)
"should be undefined" is s little bit over statement, but overall
the patch is good.
Fixes: fca22e7e595f ("net/mlx5: ODP support for XRC transport is not enabled by default in FW")
Thanks,
Reviewed-by: Leon Romanovsky <leonro@...lanox.com>
Powered by blists - more mailing lists