mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
Staging: usbip: fix build warning on 64bit kernels
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
c0429bd7df
commit
51b90540dd
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue