[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170809145651.GK30723@lunn.ch>
Date: Wed, 9 Aug 2017 16:56:51 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Romain Perier <romain.perier@...labora.com>
Cc: Giuseppe Cavallaro <peppe.cavallaro@...com>,
Alexandre Torgue <alexandre.torgue@...com>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: stmmac: Use the right logging function in
stmmac_mdio_register
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",
> + dev_info(dev, "PHY ID %08x at %d IRQ %s (%s)%s\n",
> phydev->phy_id, addr, irq_str, phydev_name(phydev),
> act ? " active" : "");
Hi Romain
phy_attached_print() would be better.
Andrew
Powered by blists - more mailing lists