diff options
author | Cristian Birsan <cristian.birsan@microchip.com> | 2019-12-13 17:33:11 +0100 |
---|---|---|
committer | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-12-15 20:30:59 +0100 |
commit | 858ce8ca62ea1530f2779d0e3f934b0176e663c3 (patch) | |
tree | 0bf7e8f0b506777c72f74de02a346d57405b2223 /drivers | |
parent | cxgb4: Fix kernel panic while accessing sge_info (diff) | |
download | linux-858ce8ca62ea1530f2779d0e3f934b0176e663c3.tar.xz linux-858ce8ca62ea1530f2779d0e3f934b0176e663c3.zip |
net: usb: lan78xx: Fix error message format specifier
Display the return code as decimal integer.
Fixes: 55d7de9de6c3 ("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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/usb/lan78xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c index d7bf1918ca62..f940dc6485e5 100644 --- a/drivers/net/usb/lan78xx.c +++ b/drivers/net/usb/lan78xx.c @@ -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); |