[PATCH 09/19] net: smc911x: fix %d confusingly prefixed with 0x in format string

Subsystems: networking drivers, the rest

STALE4396d

2 messages, 2 authors, 2014-08-05 · open the first message on its own page

[PATCH 09/19] net: smc911x: fix %d confusingly prefixed with 0x in format string

From: Hans Wennborg <hidden>
Date: 2014-08-04 00:20:00

Signed-off-by: Hans Wennborg <redacted>
---
 drivers/net/ethernet/smsc/smc911x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/smsc/smc911x.c b/drivers/net/ethernet/smsc/smc911x.c
index 1c44e67..9778cba 100644
--- a/drivers/net/ethernet/smsc/smc911x.c
+++ b/drivers/net/ethernet/smsc/smc911x.c
@@ -730,7 +730,7 @@ static void smc911x_phy_detect(struct net_device *dev)
 			lp->phy_type = id1 << 16 | id2;
 	}
 
-	DBG(SMC_DEBUG_MISC, dev, "phy_id1=0x%x, phy_id2=0x%x phyaddr=0x%d\n",
+	DBG(SMC_DEBUG_MISC, dev, "phy_id1=0x%x, phy_id2=0x%x phyaddr=0x%x\n",
 	    id1, id2, lp->mii.phy_id);
 }
 
-- 
2.0.0.526.g5318336

Re: [PATCH 09/19] net: smc911x: fix %d confusingly prefixed with 0x in format string

From: David Miller <davem@davemloft.net>
Date: 2014-08-05 20:05:09

From: Hans Wennborg <redacted>
Date: Sun,  3 Aug 2014 17:19:46 -0700
Signed-off-by: Hans Wennborg <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help