From: Hans Wennborg Date: Mon, 4 Aug 2014 00:19:46 +0000 (-0700) Subject: net: smc911x: fix %d confusingly prefixed with 0x in format string X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=45dfab6894e43c70b24d1e3f63538e4ce7acc9dd;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git net: smc911x: fix %d confusingly prefixed with 0x in format string Signed-off-by: Hans Wennborg Signed-off-by: David S. Miller --- 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); }