USB: fix Unaligned access in EHCI driver
authorMax Dmitrichenko <dmitrmax@gmail.com>
Mon, 5 Mar 2007 23:45:01 +0000 (02:45 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 10 Mar 2007 03:52:25 +0000 (19:52 -0800)
commit64543652609fc1a2a816dc38ce4f56eddda9f9a5
tree2f5e2c82bc7cf37655c93410ce8ab58478cbdd1e
parentd8b2160683bd1cee759e72a53193484c25a006bd
USB: fix Unaligned access in EHCI driver

I get following warnings on spar64:
Kernel unaligned access at TPC[1000c9e4] ehci_hub_control+0x54c/0x68c [ehci_hcd]

Despite of the comment in the patched code, the type cast used there
does make unaligned access. The fix was made as it's done in
ohci-hub.c.

Signed-off-by: Max Dmitrichenko <dmitrmax@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-hub.c