From: Leon Romanovsky
Date: Sun, 17 May 2020 14:53:40 +0300
> From: Leon Romanovsky
>
> The compilation warning below reveals that the errors returned from
> the sfp_bus_add_upstream() call are not propagated to the callers.
> Fix it by returning "ret".
>
> 14:37:51 drivers/net/phy/phy_device.
From: Leon Romanovsky
The compilation warning below reveals that the errors returned from
the sfp_bus_add_upstream() call are not propagated to the callers.
Fix it by returning "ret".
14:37:51 drivers/net/phy/phy_device.c: In function 'phy_sfp_probe':
14:37:51 drivers/net/phy/phy_device.c:1236:6