There's a bug in the smsc911x.c when USE_DEBUG >= 2 in smsc911x.h

phy_addr is used but not declared


SMSC_TRACE(PROBE, "PHY %d: addr %d, phy_id 0x%08X",
      phy_addr, phydev->addr, phydev->phy_id);


should maybe be


SMSC_TRACE(PROBE, "PHY %s: addr %d, phy_id 0x%08X",
      dev_name(&phydev->dev), phydev->addr, phydev->phy_id);


there's a similar variable named phyaddr, but it's not in that scope.


In the worst case this would fix the issue

SMSC_TRACE(PROBE, "PHY %s: addr %d, phy_id 0x%08X",
      "[TODO]", phydev->addr, phydev->phy_id);


Feel free to counsel me on where to submit a patch.

AJ ONeal