提交 1b848736 编写于 作者: G Greg Kroah-Hartman

Revert "staging: usbip: bugfix for stack corruption on 64-bit architectures"

This reverts commit 08224262 as it's
just not right.
Reported-by: NBen Hutchings <ben@decadent.org.uk>
Cc: stable <stable@vger.kernel.org>
Cc: Bart Westgeest <bart@elbrys.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 08224262
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册