Commit 51b90540 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: usbip: fix build warning on 64bit kernels

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent c0429bd7
...@@ -202,7 +202,7 @@ static void vhci_rx_pdu(struct usbip_device *ud) ...@@ -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); ret = usbip_xmit(0, ud->tcp_socket, (char *) &pdu, sizeof(pdu), 0);
if (ret != sizeof(pdu)) { if (ret != sizeof(pdu)) {
uerr("receiving pdu failed! size is %d, should be %d\n", 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); usbip_event_add(ud, VDEV_EVENT_ERROR_TCP);
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment