[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 10 Oct 2011 11:28:05 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Harro Haan <hrhaan@...il.com>
cc: Greg Kroah-Hartman <gregkh@...e.de>,
Lennert Buytenhek <kernel@...tstofly.org>,
Nicolas Pitre <nico@...xnic.net>, <linux-usb@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] fix ehci alignment error
On Mon, 10 Oct 2011, Harro Haan wrote:
> The Kirkwood gave an unaligned memory access error on
> line 742 of drivers/usb/host/echi-hcd.c:
> "ehci->last_periodic_enable = ktime_get_real();"
>
> Signed-off-by: Harro Haan <hrhaan@...il.com>
> ---
> include/linux/usb/hcd.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h
> index 0097136..c0ecc5a 100644
> --- a/include/linux/usb/hcd.h
> +++ b/include/linux/usb/hcd.h
> @@ -178,7 +178,7 @@ struct usb_hcd {
> * this structure.
> */
> unsigned long hcd_priv[0]
> - __attribute__ ((aligned(sizeof(unsigned long))));
> + __attribute__ ((aligned(sizeof(s64))));
> };
>
> /* 2.4 does this a bit differently ... */
Acked-by: Alan Stern <stern@...land.harvard.edu>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists