projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0429bd
)
Staging: usbip: fix build warning on 64bit kernels
author
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 9 Apr 2002 19:14:34 +0000
(12:14 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 22 Oct 2008 16:56:40 +0000
(09:56 -0700)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/vhci_rx.c
patch
|
blob
|
history
diff --git
a/drivers/staging/usbip/vhci_rx.c
b/drivers/staging/usbip/vhci_rx.c
index
933ccaf
..
58e3995
100644
(file)
--- a/
drivers/staging/usbip/vhci_rx.c
+++ b/
drivers/staging/usbip/vhci_rx.c
@@
-202,7
+202,7
@@
static void vhci_rx_pdu(struct usbip_device *ud)
ret = usbip_xmit(0, ud->tcp_socket, (char *) &pdu, sizeof(pdu), 0);
if (ret != sizeof(pdu)) {
uerr("receiving pdu failed! size is %d, should be %d\n",
- ret, sizeof(pdu));
+ ret,
(unsigned int)
sizeof(pdu));
usbip_event_add(ud, VDEV_EVENT_ERROR_TCP);
return;
}