summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-08-04 04:19:46 +0400
committerDavid S. Miller <davem@davemloft.net>2014-08-06 00:04:32 +0400
commit45dfab6894e43c70b24d1e3f63538e4ce7acc9dd (patch)
treee1eea55b123b70eb74e5261cdd1e24599fa71704 /drivers
parent597aec3f93616c6aa73c3fb1d008f66f2ede9f4c (diff)
downloadlinux-45dfab6894e43c70b24d1e3f63538e4ce7acc9dd.tar.xz
net: smc911x: fix %d confusingly prefixed with 0x in format string
Signed-off-by: Hans Wennborg <hans@hanshq.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/smsc/smc911x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/smsc/smc911x.c b/drivers/net/ethernet/smsc/smc911x.c
index 1c44e67c3067..9778cba9fc74 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);
}