We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8aa6d5 commit baee199Copy full SHA for baee199
drivers/net/ethernet/mediatek/mtk_star_emac.c
@@ -966,6 +966,7 @@ static int mtk_star_enable(struct net_device *ndev)
966
mtk_star_adjust_link, 0, priv->phy_intf);
967
if (!priv->phydev) {
968
netdev_err(ndev, "failed to connect to PHY\n");
969
+ ret = -ENODEV;
970
goto err_free_irq;
971
}
972
0 commit comments