usbnet: Print device statistics as unsigned
PATCH 1/2 usbnet: Print device statistics as unsigned
Signed-off-by Ben Hutchings <[email protected]>
--- drivers/net/usb/usbnet.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/usb/usbnet.c +1 -1
@@ -643,7 +643,7 @@ int usbnet_stop (struct net_device *net)netif_stop_queue (net);netif_info (dev, ifdown, dev->net, -"stop stats: rx/tx %ld/%ld, errs %ld/%ld\n" , +"stop stats: rx/tx %lu/%lu, errs %lu/%lu\n" , net->stats.rx_packets, net->stats.tx_packets, net->stats.rx_errors, net->stats.tx_errors);
Signature · 7 lines
1.6.2.5 -- Ben Hutchings, Senior Software Engineer, Solarflare Communications Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked.