aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/net/usbnet.c
diff options
context:
space:
mode:
authorAl Viro <viro@parcelfarce.linux.theplanet.co.uk>2005-04-26 14:26:53 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-26 14:26:53 -0400
commit5330e9273e2b3e372b01bb1cb75be4364f02db78 (patch)
treec05def3f207bdfca1eb9fac67d01329dd033643e /drivers/usb/net/usbnet.c
parent97af11286d68e359f61579214ca7a7b4433fe458 (diff)
[PATCH] size_t portability fixes - drivers/usb
size_t is zu, ssize_t is zd... Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/usb/net/usbnet.c')
-rw-r--r--drivers/usb/net/usbnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/net/usbnet.c b/drivers/usb/net/usbnet.c
index 1748159e462e..a45ea7c97356 100644
--- a/drivers/usb/net/usbnet.c
+++ b/drivers/usb/net/usbnet.c
@@ -431,7 +431,7 @@ static void skb_return (struct usbnet *dev, struct sk_buff *skb)
431 dev->stats.rx_bytes += skb->len; 431 dev->stats.rx_bytes += skb->len;
432 432
433 if (netif_msg_rx_status (dev)) 433 if (netif_msg_rx_status (dev))
434 devdbg (dev, "< rx, len %zd, type 0x%x", 434 devdbg (dev, "< rx, len %zu, type 0x%x",
435 skb->len + sizeof (struct ethhdr), skb->protocol); 435 skb->len + sizeof (struct ethhdr), skb->protocol);
436 memset (skb->cb, 0, sizeof (struct skb_data)); 436 memset (skb->cb, 0, sizeof (struct skb_data));
437 status = netif_rx (skb); 437 status = netif_rx (skb);