summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-12 20:10:50 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-12 20:10:50 +0200
commit1b8487368bb0acedf23e226974b63aaaf2bfddbd (patch)
tree5f5654b78d6af51d2d38baa498ad6652cf6fb74e /drivers
parentstaging: usbip: bugfix for stack corruption on 64-bit architectures (diff)
downloadlinux-1b8487368bb0acedf23e226974b63aaaf2bfddbd.tar.xz
linux-1b8487368bb0acedf23e226974b63aaaf2bfddbd.zip
Revert "staging: usbip: bugfix for stack corruption on 64-bit architectures"
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/usbip/vhci_hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c
index 117a7ad9fdb1..f708cbaee16b 100644
--- 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 */
- u32 *event_bits = (unsigned long *) buf;
+ unsigned long *event_bits = (unsigned long *) buf;
int rhport;
int changed = 0;