Revert "staging: usbip: bugfix for stack corruption on 64-bit architectures"
This reverts commit 08224262ad
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>
This commit is contained in:
Родитель
08224262ad
Коммит
1b8487368b
|
@ -205,7 +205,7 @@ static int vhci_hub_status(struct usb_hcd *hcd, char *buf)
|
||||||
int retval = 0;
|
int retval = 0;
|
||||||
|
|
||||||
/* the enough buffer is allocated according to USB_MAXCHILDREN */
|
/* 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 rhport;
|
||||||
int changed = 0;
|
int changed = 0;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче