* [PATCH] net/fsl: Add format length modifier to avoid negative values
@ 2014-07-29 19:45 Shruti Kanetkar
0 siblings, 0 replies; only message in thread
From: Shruti Kanetkar @ 2014-07-29 19:45 UTC (permalink / raw)
To: scottwood; +Cc: Shruti Kanetkar, linuxppc-dev
Signed-off-by: Shruti Kanetkar <Shruti@Freescale.com>
---
drivers/net/ethernet/freescale/xgmac_mdio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/freescale/xgmac_mdio.c b/drivers/net/ethernet/freescale/xgmac_mdio.c
index 8173407..6e7db66 100644
--- a/drivers/net/ethernet/freescale/xgmac_mdio.c
+++ b/drivers/net/ethernet/freescale/xgmac_mdio.c
@@ -163,7 +163,7 @@ static int xgmac_mdio_read(struct mii_bus *bus, int phy_id, int regnum)
/* Return all Fs if nothing was there */
if (in_be32(®s->mdio_stat) & MDIO_STAT_RD_ER) {
dev_err(&bus->dev,
- "Error while reading PHY%d reg at %d.%d\n",
+ "Error while reading PHY%d reg at %d.%hhu\n",
phy_id, dev_addr, regnum);
return 0xffff;
}
--
1.8.3.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-07-29 19:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-29 19:45 [PATCH] net/fsl: Add format length modifier to avoid negative values Shruti Kanetkar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox