Skip to content

Commit

Permalink
net: smc911x: fix %d confusingly prefixed with 0x in format string
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Wennborg <hans@hanshq.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Hans Wennborg authored and David S. Miller committed Aug 5, 2014
1 parent 597aec3 commit 45dfab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/smsc/smc911x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 45dfab6

Please sign in to comment.