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 acac054 commit 0ed9704Copy full SHA for 0ed9704
drivers/net/phy/marvell10g.c
@@ -880,7 +880,7 @@ static int mv3310_read_status_copper(struct phy_device *phydev)
880
881
cssr1 = phy_read_mmd(phydev, MDIO_MMD_PCS, MV_PCS_CSSR1);
882
if (cssr1 < 0)
883
- return val;
+ return cssr1;
884
885
/* If the link settings are not resolved, mark the link down */
886
if (!(cssr1 & MV_PCS_CSSR1_RESOLVED)) {
0 commit comments