diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-08-07 18:56:40 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-27 14:58:51 -0400 |
commit | 25d94e682ccb8938177bffafa67a7d21c7282a4a (patch) | |
tree | 428e7e512dcf6dae9891f8c2c22ae000cbcfde66 /drivers/usb/net/usbnet.c | |
parent | 933a27d39e0e57ba56cff2e4ebe92cf23f4cd815 (diff) |
usbnet: printk format warning
Fix printk format warning(s):
drivers/usb/net/usbnet.c:654: warning: int format, different type arg (arg 3)
The fact that rx_urb_size happens to be a size_t has propagated all the way
back to this printk. It's fragile to be using %z in this case - let's just
typecast the args instead.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/net/usbnet.c')
-rw-r--r-- | drivers/usb/net/usbnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/net/usbnet.c b/drivers/usb/net/usbnet.c index 17fc6ae5c075..8e8e74d40530 100644 --- a/drivers/usb/net/usbnet.c +++ b/drivers/usb/net/usbnet.c | |||
@@ -653,7 +653,7 @@ static int usbnet_open (struct net_device *net) | |||
653 | 653 | ||
654 | devinfo (dev, "open: enable queueing " | 654 | devinfo (dev, "open: enable queueing " |
655 | "(rx %d, tx %d) mtu %d %s framing", | 655 | "(rx %d, tx %d) mtu %d %s framing", |
656 | RX_QLEN (dev), TX_QLEN (dev), dev->net->mtu, | 656 | (int)RX_QLEN (dev), (int)TX_QLEN (dev), dev->net->mtu, |
657 | framing); | 657 | framing); |
658 | } | 658 | } |
659 | 659 | ||