[U-Boot] [PATCH 3/4] USB: Fix anti-aliasing complaints in OHCI-HCD

Marek Vasut marek.vasut at gmail.com
Sat Aug 20 15:28:43 CEST 2011


Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
---
 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;
-- 
1.7.5.4



More information about the U-Boot mailing list