Re: [PATCH rdma-next 1/1] RDMA/mana_ib: fix missing ret value
From: Jason Gunthorpe
Date: Tue Apr 23 2024 - 11:03:56 EST
On Tue, Apr 23, 2024 at 07:15:51AM -0700, Konstantin Taranov wrote:
> From: Konstantin Taranov <kotaranov@xxxxxxxxxxxxx>
>
> Set ret to -ENODEV when netdev_master_upper_dev_get_rcu
> returns NULL.
>
> Fixes: 8b184e4f1c32 ("RDMA/mana_ib: Enable RoCE on port 1")
> Signed-off-by: Konstantin Taranov <kotaranov@xxxxxxxxxxxxx>
> ---
> drivers/infiniband/hw/mana/device.c | 1 +
> 1 file changed, 1 insertion(+)
Applied to for-next, thanks
Jason