usbnet: printk format warning
authorRandy Dunlap <rdunlap@xenotime.net>
Mon, 7 Aug 2006 22:56:40 +0000 (15:56 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 18:58:51 +0000 (11:58 -0700)
commit25d94e682ccb8938177bffafa67a7d21c7282a4a
tree428e7e512dcf6dae9891f8c2c22ae000cbcfde66
parent933a27d39e0e57ba56cff2e4ebe92cf23f4cd815
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>
drivers/usb/net/usbnet.c