Re: [PATCH] net: stmmac: Use the right logging function in stmmac_mdio_register

2017-08-09 Thread Romain Perier
Hi Andrew, Le 09/08/2017 à 16:56, Andrew Lunn a écrit : > On Wed, Aug 09, 2017 at 04:40:19PM +0200, Romain Perier wrote: >> @@ -285,14 +286,14 @@ int stmmac_mdio_register(struct net_device *ndev) >> irq_str = irq_num; >> break; >> } >> -

Re: [PATCH] net: stmmac: Use the right logging function in stmmac_mdio_register

2017-08-09 Thread Andrew Lunn
On Wed, Aug 09, 2017 at 04:40:19PM +0200, Romain Perier wrote: > @@ -285,14 +286,14 @@ int stmmac_mdio_register(struct net_device *ndev) > irq_str = irq_num; > break; > } > - netdev_info(ndev, "PHY ID %08x at %d IRQ %s (%s)%s\n",

[PATCH] net: stmmac: Use the right logging function in stmmac_mdio_register

2017-08-09 Thread Romain Perier
Currently, the function stmmac_mdio_register() is only used by stmmac_dvr_probe() from stmmac_main.c, in order to register the MDIO bus and probe information about the PHY. As this function is called before calling register_netdev(), all messages logged from stmmac_mdio_register are prefixed by "(u