Message ID | dbf1c020-3984-2404-e925-829db386f538@mistywest.com |
---|---|
State | New |
Headers | show |
Series | unable to apply patch: "git am" did not work - dubious ownership | expand |
diff --git a/of_mdio.c b/of_mdio.c index 4daf94bb..8ce36727 100644 --- a/drivers/net/mdio/of_mdio.c +++ b/drivers/net/mdio/of_mdio.c @@ -286,8 +286,10 @@ int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np) if (of_mdiobus_child_is_phy(child)) rc = of_mdiobus_register_phy(mdio, child, addr); + printk("of_mdiobus_child_is_phy returned true, expected! \nof_mdiobus_register_phy() rc %d", rc); else rc = of_mdiobus_register_device(mdio, child, addr); + printk("of_mdiobus_child_is_phy returned false, not expected! \nof_mdiobus_register_phy()rc %d\n", rc);