diff options
author | Al Viro <viro@parcelfarce.linux.theplanet.co.uk> | 2005-04-26 11:26:53 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-26 11:26:53 -0700 |
commit | 5330e9273e2b3e372b01bb1cb75be4364f02db78 (patch) | |
tree | c05def3f207bdfca1eb9fac67d01329dd033643e /drivers/usb/media | |
parent | 97af11286d68e359f61579214ca7a7b4433fe458 (diff) | |
download | op-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/media')
-rw-r--r-- | drivers/usb/media/pwc/pwc-if.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/media/pwc/pwc-if.c b/drivers/usb/media/pwc/pwc-if.c index c3c3e5a..c53e226 100644 --- a/drivers/usb/media/pwc/pwc-if.c +++ b/drivers/usb/media/pwc/pwc-if.c @@ -322,7 +322,7 @@ static int pwc_allocate_buffers(struct pwc_device *pdev) case 730: case 740: case 750: - Trace(TRACE_MEMORY,"private_data(%Zd)\n",sizeof(struct pwc_dec23_private)); + Trace(TRACE_MEMORY,"private_data(%zu)\n",sizeof(struct pwc_dec23_private)); kbuf = kmalloc(sizeof(struct pwc_dec23_private), GFP_KERNEL); /* Timon & Kiara */ break; case 645: @@ -1179,7 +1179,7 @@ static ssize_t pwc_video_read(struct file *file, char __user * buf, DECLARE_WAITQUEUE(wait, current); int bytes_to_read; - Trace(TRACE_READ, "video_read(0x%p, %p, %Zd) called.\n", vdev, buf, count); + Trace(TRACE_READ, "video_read(0x%p, %p, %zu) called.\n", vdev, buf, count); if (vdev == NULL) return -EFAULT; pdev = vdev->priv; |