summaryrefslogtreecommitdiff
path: root/drivers/staging/usbip
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2011-07-07 21:49:54 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-09 00:59:55 +0400
commit6394c5a0379d0733396edd9452e31282e0684a3c (patch)
tree1e6eeb68b1264fc432aad6ddff3e7bf29ffc58d0 /drivers/staging/usbip
parent33e73e0085089a2653cd638c990996b90833819b (diff)
downloadlinux-6394c5a0379d0733396edd9452e31282e0684a3c.tar.xz
staging: fix usbip printk format warning
Fix usbip printk format warning for size_t: drivers/staging/usbip/stub_tx.c:236: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'size_t' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/usbip')
-rw-r--r--drivers/staging/usbip/stub_tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/usbip/stub_tx.c b/drivers/staging/usbip/stub_tx.c
index 1cbae44ba0dc..023fda305be2 100644
--- a/drivers/staging/usbip/stub_tx.c
+++ b/drivers/staging/usbip/stub_tx.c
@@ -231,7 +231,7 @@ static int stub_send_ret_submit(struct stub_device *sdev)
if (txsize != sizeof(pdu_header) + urb->actual_length) {
dev_err(&sdev->interface->dev,
"actual length of urb %d does not "
- "match iso packet sizes %lu\n",
+ "match iso packet sizes %zu\n",
urb->actual_length,
txsize-sizeof(pdu_header));
kfree(iov);