[U-Boot] [PATCH 3/4] USB: Fix anti-aliasing complaints in OHCI-HCD
Marek Vasut
marek.vasut at gmail.com
Sat Aug 20 15:34:23 CEST 2011
On Saturday, August 20, 2011 03:28:43 PM Marek Vasut wrote:
> Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
Dang, I mistyped Remy's address ... fixed.
> ---
> drivers/usb/host/ohci-hcd.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c
> index bc8bb20..dcd8fc8 100644
> --- a/drivers/usb/host/ohci-hcd.c
> +++ b/drivers/usb/host/ohci-hcd.c
> @@ -1262,7 +1262,7 @@ static int ohci_submit_rh_msg(struct usb_device *dev,
> unsigned long pipe, int leni = transfer_len;
> int len = 0;
> int stat = 0;
> - __u32 datab[4];
> + __u8 datab[16] __attribute__((aligned(4)));
> __u8 *data_buf = (__u8 *)datab;
> __u16 bmRType_bReq;
> __u16 wValue;
More information about the U-Boot
mailing list