提交 8ccef431 编写于 作者: B Ben Hutchings 提交者: David S. Miller

usbnet: Print device statistics as unsigned

Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 4472702e
...@@ -643,7 +643,7 @@ int usbnet_stop (struct net_device *net) ...@@ -643,7 +643,7 @@ int usbnet_stop (struct net_device *net)
netif_stop_queue (net); netif_stop_queue (net);
netif_info(dev, ifdown, dev->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_packets, net->stats.tx_packets,
net->stats.rx_errors, net->stats.tx_errors); net->stats.rx_errors, net->stats.tx_errors);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册