Hi,
Please apply.
patch_name: usb_argtypes.patch
patch_version: 2003-08-27.18:19:58
author: Randy.Dunlap <[EMAIL PROTECTED]>
description: usb: fix printk parameter types;
product: Linux
product_versions: 260-test4
maintainer: [EMAIL PROTECTED]
diffstat: =
drivers/usb/media/usbvideo.c | 4 ++--
drivers/usb/serial/visor.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff -Naur ./drivers/usb/media/usbvideo.c~argtype ./drivers/usb/media/usbvideo.c
--- ./drivers/usb/media/usbvideo.c~argtype Fri Aug 22 17:03:04 2003
+++ ./drivers/usb/media/usbvideo.c Wed Aug 27 12:32:59 2003
@@ -1665,7 +1665,7 @@
return -EFAULT;
if (uvd->debug >= 1)
- info("%s: %d. bytes, noblock=%d.", __FUNCTION__, count, noblock);
+ info("%s: %Zd. bytes, noblock=%d.", __FUNCTION__, count, noblock);
down(&uvd->lock);
@@ -1783,7 +1783,7 @@
/* Update last read position */
frame->seqRead_Index += count;
if (uvd->debug >= 1) {
- err("%s: {copy} count used=%d, new seqRead_Index=%ld",
+ err("%s: {copy} count used=%Zd, new seqRead_Index=%ld",
__FUNCTION__, count, frame->seqRead_Index);
}
diff -Naur ./drivers/usb/serial/visor.c~argtype ./drivers/usb/serial/visor.c
--- ./drivers/usb/serial/visor.c~argtype Fri Aug 22 16:53:49 2003
+++ ./drivers/usb/serial/visor.c Wed Aug 27 12:46:59 2003
@@ -649,7 +649,7 @@
transfer_buffer = kmalloc (sizeof (*connection_info), GFP_KERNEL);
if (!transfer_buffer) {
- dev_err(dev, "%s - kmalloc(%d) failed.\n", __FUNCTION__,
+ dev_err(dev, "%s - kmalloc(%Zd) failed.\n", __FUNCTION__,
sizeof(*connection_info));
return -ENOMEM;
}
@@ -735,7 +735,7 @@
transfer_buffer = kmalloc (sizeof (*connection_info), GFP_KERNEL);
if (!transfer_buffer) {
- dev_err(dev, "%s - kmalloc(%d) failed.\n", __FUNCTION__,
+ dev_err(dev, "%s - kmalloc(%Zd) failed.\n", __FUNCTION__,
sizeof(*connection_info));
return -ENOMEM;
}
--
~Randy
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel