summaryrefslogtreecommitdiffstats
path: root/drivers/usb/net/usbnet.c
diff options
context:
space:
mode:
authorAl Viro <viro@parcelfarce.linux.theplanet.co.uk>2005-04-26 11:26:53 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-26 11:26:53 -0700
commit5330e9273e2b3e372b01bb1cb75be4364f02db78 (patch)
treec05def3f207bdfca1eb9fac67d01329dd033643e /drivers/usb/net/usbnet.c
parent97af11286d68e359f61579214ca7a7b4433fe458 (diff)
downloadop-kernel-dev-5330e9273e2b3e372b01bb1cb75be4364f02db78.zip
op-kernel-dev-5330e9273e2b3e372b01bb1cb75be4364f02db78.tar.gz
[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 1748159..a45ea7c 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)
dev->stats.rx_bytes += skb->len;
if (netif_msg_rx_status (dev))
- devdbg (dev, "< rx, len %zd, type 0x%x",
+ devdbg (dev, "< rx, len %zu, type 0x%x",
skb->len + sizeof (struct ethhdr), skb->protocol);
memset (skb->cb, 0, sizeof (struct skb_data));
status = netif_rx (skb);
OpenPOWER on IntegriCloud