From: hrhaan@gmail.com (Harro Haan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] fix ehci alignment error
Date: Mon, 10 Oct 2011 14:38:27 +0200 [thread overview]
Message-ID: <20111010124154.464239811@gmail.com> (raw)
An embedded and charset-unspecified text was scrubbed...
Name: fix-ehci-alignment-error.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20111010/016cc19d/attachment.ksh>
WARNING: multiple messages have this Message-ID (diff)
From: Harro Haan <hrhaan@gmail.com>
To: Alan Stern <stern@rowland.harvard.edu>,
Greg Kroah-Hartman <gregkh@suse.de>
Cc: Lennert Buytenhek <kernel@wantstofly.org>,
Nicolas Pitre <nico@fluxnic.net>, <linux-usb@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>, Harro Haan <hrhaan@gmail.com>
Subject: [PATCH] fix ehci alignment error
Date: Mon, 10 Oct 2011 14:38:27 +0200 [thread overview]
Message-ID: <20111010124154.464239811@gmail.com> (raw)
[-- Attachment #1: fix-ehci-alignment-error.patch --]
[-- Type: text/plain, Size: 688 bytes --]
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@gmail.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 ... */
--
1.7.0.4
next reply other threads:[~2011-10-10 12:38 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-10 12:38 Harro Haan [this message]
2011-10-10 12:38 ` [PATCH] fix ehci alignment error Harro Haan
2011-10-10 14:14 ` Greg KH
2011-10-10 14:14 ` Greg KH
2011-10-10 16:29 ` Måns Rullgård
2011-10-10 16:29 ` Måns Rullgård
2011-10-10 17:00 ` Greg KH
2011-10-10 17:00 ` Greg KH
2011-10-10 17:31 ` Mikael Pettersson
2011-10-10 17:31 ` Mikael Pettersson
2011-10-10 17:38 ` Greg KH
2011-10-10 17:38 ` Greg KH
2011-10-10 18:41 ` Måns Rullgård
2011-10-10 18:41 ` Måns Rullgård
2011-10-10 15:28 ` Alan Stern
2011-10-10 15:28 ` Alan Stern
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111010124154.464239811@gmail.com \
--to=hrhaan@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.