Skip to content

Commit

Permalink
Revert "staging: usbip: bugfix for stack corruption on 64-bit archite…
Browse files Browse the repository at this point in the history
…ctures"

This reverts commit 0822426 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>
  • Loading branch information
Greg Kroah-Hartman committed Jun 12, 2012
1 parent 0822426 commit 1b84873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/usbip/vhci_hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 1b84873

Please sign in to comment.