1
0
Fork 0

net: usb: lan78xx: Fix error message format specifier

[ Upstream commit 858ce8ca62 ]

Display the return code as decimal integer.

Fixes: 55d7de9de6 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver")
Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
5.4-rM2-2.2.x-imx-squashed
Cristian Birsan 2019-12-13 18:33:11 +02:00 committed by Greg Kroah-Hartman
parent db1c0da0a0
commit 27fc4a9e4a
1 changed files with 1 additions and 1 deletions

View File

@ -511,7 +511,7 @@ static int lan78xx_read_stats(struct lan78xx_net *dev,
}
} else {
netdev_warn(dev->net,
"Failed to read stat ret = 0x%x", ret);
"Failed to read stat ret = %d", ret);
}
kfree(stats);