staging: usbip: bugfix for stack corruption on 64-bit architectures
[firefly-linux-kernel-4.4.55.git] / drivers / staging / usbip / vhci_hcd.c
index f708cbaee16bcdf797e99160eb285225457ce4be..117a7ad9fdb184e58fd784df6cc19a37e5558a97 100644 (file)
@@ -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 */
-       unsigned long   *event_bits = (unsigned long *) buf;
+       u32             *event_bits = (unsigned long *) buf;
        int             rhport;
        int             changed = 0;