From: Greg Kroah-Hartman Date: Tue, 12 Jun 2012 18:10:50 +0000 (-0700) Subject: Revert "staging: usbip: bugfix for stack corruption on 64-bit architectures" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1b8487368bb0acedf23e226974b63aaaf2bfddbd;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Cc: stable Cc: Bart Westgeest Signed-off-by: Greg Kroah-Hartman --- 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;