aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/mdio-thunder.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/phy/mdio-thunder.c')
-rw-r--r--drivers/net/phy/mdio-thunder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/mdio-thunder.c b/drivers/net/phy/mdio-thunder.c
index 564616968cad..1546f6398831 100644
--- a/drivers/net/phy/mdio-thunder.c
+++ b/drivers/net/phy/mdio-thunder.c
@@ -73,8 +73,8 @@ static int thunder_mdiobus_pci_probe(struct pci_dev *pdev,
err = of_address_to_resource(node, 0, &r);
if (err) {
dev_err(&pdev->dev,
- "Couldn't translate address for \"%s\"\n",
- node->name);
+ "Couldn't translate address for \"%pOFn\"\n",
+ node);
break;
}