projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.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
|
blame
|
history
diff --git
a/drivers/staging/usbip/vhci_rx.c
b/drivers/staging/usbip/vhci_rx.c
index 933ccaf50afbb737bc09e2d615e9c639eed6f511..58e3995d0e2ce169ba9bea352b97271315ca9cf4 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;
}