summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/smsc
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-08-03 17:19:46 -0700
committerDavid S. Miller <davem@davemloft.net>2014-08-05 13:04:32 -0700
commit45dfab6894e43c70b24d1e3f63538e4ce7acc9dd (patch)
treee1eea55b123b70eb74e5261cdd1e24599fa71704 /drivers/net/ethernet/smsc
parent597aec3f93616c6aa73c3fb1d008f66f2ede9f4c (diff)
downloadop-kernel-dev-45dfab6894e43c70b24d1e3f63538e4ce7acc9dd.zip
op-kernel-dev-45dfab6894e43c70b24d1e3f63538e4ce7acc9dd.tar.gz
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/net/ethernet/smsc')
-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 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);
}
OpenPOWER on IntegriCloud