Revert "staging: usbip: bugfix for stack corruption on 64-bit architectures"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jun 2012 18:10:50 +0000 (11:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jun 2012 18:10:50 +0000 (11:10 -0700)
This reverts commit 08224262adefb5e6460888b2490a96e1bc28aef5 as it's
just not right.

Reported-by: Ben Hutchings <ben@decadent.org.uk>
Cc: stable <stable@vger.kernel.org>
Cc: Bart Westgeest <bart@elbrys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/vhci_hcd.c

index 117a7ad..f708cba 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 */
-       u32             *event_bits = (unsigned long *) buf;
+       unsigned long   *event_bits = (unsigned long *) buf;
        int             rhport;
        int             changed = 0;