netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] smsc911x: Fix build error when SMSC_TRACE() used
@ 2011-03-15  5:16 Jeongtae Park
  2011-03-15 21:52 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Jeongtae Park @ 2011-03-15  5:16 UTC (permalink / raw)
  To: Jeongtae Park, netdev; +Cc: Jeongtae Park, Steve Glendinning, Denis Kirjanov

This patch fixes build error when SMSC_TRACE() used.

Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Cc: Steve Glendinning <steve.glendinning@smsc.com>
Cc: Denis Kirjanov <kirjanov@gmail.com>
---
 drivers/net/smsc911x.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c
index 64bfdae..abf4482 100644
--- a/drivers/net/smsc911x.c
+++ b/drivers/net/smsc911x.c
@@ -791,8 +791,8 @@ static int smsc911x_mii_probe(struct net_device *dev)
 		return -ENODEV;
 	}
 
-	SMSC_TRACE(PROBE, "PHY %d: addr %d, phy_id 0x%08X",
-			phy_addr, phydev->addr, phydev->phy_id);
+	SMSC_TRACE(PROBE, "PHY: addr %d, phy_id 0x%08X",
+			phydev->addr, phydev->phy_id);
 
 	ret = phy_connect_direct(dev, phydev,
 			&smsc911x_phy_adjust_link, 0,
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] smsc911x: Fix build error when SMSC_TRACE() used
  2011-03-15  5:16 [PATCH] smsc911x: Fix build error when SMSC_TRACE() used Jeongtae Park
@ 2011-03-15 21:52 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2011-03-15 21:52 UTC (permalink / raw)
  To: jtp.park; +Cc: netdev, steve.glendinning, kirjanov

From: Jeongtae Park <jtp.park@samsung.com>
Date: Tue, 15 Mar 2011 14:16:20 +0900

> This patch fixes build error when SMSC_TRACE() used.
> 
> Signed-off-by: Jeongtae Park <jtp.park@samsung.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-15 21:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-15  5:16 [PATCH] smsc911x: Fix build error when SMSC_TRACE() used Jeongtae Park
2011-03-15 21:52 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).