[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210210080315.GG139298@unreal>
Date: Wed, 10 Feb 2021 10:03:15 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Wei Yongjun <weiyongjun1@...wei.com>
Cc: Hulk Robot <hulkci@...wei.com>, Saeed Mahameed <saeedm@...dia.com>,
Jakub Kicinski <kuba@...nel.org>,
Parav Pandit <parav@...dia.com>, Vu Pham <vuhuong@...dia.com>,
netdev@...r.kernel.org, linux-rdma@...r.kernel.org
Subject: Re: [PATCH net-next] net/mlx5: SF, Fix error return code in
mlx5_sf_dev_probe()
On Wed, Feb 10, 2021 at 07:54:17AM +0000, Wei Yongjun wrote:
> Fix to return negative error code -ENOMEM from the ioremap() error
> handling case instead of 0, as done elsewhere in this function.
>
> Fixes: 1958fc2f0712 ("net/mlx5: SF, Add auxiliary device driver")
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
> ---
> .../net/ethernet/mellanox/mlx5/core/sf/dev/driver.c | 1 +
> 1 file changed, 1 insertion(+)
>
Thanks,
Reviewed-by: Leon Romanovsky <leonro@...dia.com>
Powered by blists - more mailing lists