projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging: usbip: bugfix for stack corruption on 64-bit architectures
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
staging
/
usbip
/
vhci_hcd.c
diff --git
a/drivers/staging/usbip/vhci_hcd.c
b/drivers/staging/usbip/vhci_hcd.c
index f708cbaee16bcdf797e99160eb285225457ce4be..117a7ad9fdb184e58fd784df6cc19a37e5558a97 100644
(file)
--- a/
drivers/staging/usbip/vhci_hcd.c
+++ b/
drivers/staging/usbip/vhci_hcd.c
@@
-205,7
+205,7
@@
static int vhci_hub_status(struct usb_hcd *hcd, char *buf)
int retval = 0;
/* the enough buffer is allocated according to USB_MAXCHILDREN */
- u
nsigned long
*event_bits = (unsigned long *) buf;
+ u
32
*event_bits = (unsigned long *) buf;
int rhport;
int changed = 0;