summaryrefslogtreecommitdiff
path: root/drivers/usb/input/yealink.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-01-19 23:59:12 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-31 17:23:43 -0800
commit877260bd2618d1a6e6acf63100bd9d009b7c2856 (patch)
treefdf0230f46c8a273db6db13be51ed2e8c698d1c2 /drivers/usb/input/yealink.c
parent6d453b9e3007da2c6cd8b71883505c381f0e0004 (diff)
downloadlwn-877260bd2618d1a6e6acf63100bd9d009b7c2856.tar.gz
lwn-877260bd2618d1a6e6acf63100bd9d009b7c2856.zip
[PATCH] USB: yealink printk warning fix
drivers/usb/input/yealink.c: In function `usb_probe': drivers/usb/input/yealink.c:910: warning: int format, different type arg (arg 4) Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/input/yealink.c')
-rw-r--r--drivers/usb/input/yealink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/input/yealink.c b/drivers/usb/input/yealink.c
index 067be34b4241..37d2f0ba0319 100644
--- a/drivers/usb/input/yealink.c
+++ b/drivers/usb/input/yealink.c
@@ -907,7 +907,7 @@ static int usb_probe(struct usb_interface *intf, const struct usb_device_id *id)
pipe = usb_rcvintpipe(udev, endpoint->bEndpointAddress);
ret = usb_maxpacket(udev, pipe, usb_pipeout(pipe));
if (ret != USB_PKT_LEN)
- err("invalid payload size %d, expected %d", ret, USB_PKT_LEN);
+ err("invalid payload size %d, expected %zd", ret, USB_PKT_LEN);
/* initialise irq urb */
usb_fill_int_urb(yld->urb_irq, udev, pipe, yld->irq_data,