Fix warnings in arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c
authorSimon Glass <sjg@chromium.org>
Tue, 15 Nov 2011 18:17:06 +0000 (18:17 +0000)
committerWolfgang Denk <wd@denx.de>
Fri, 9 Dec 2011 09:32:49 +0000 (10:32 +0100)
commit13119bc9fb1e1f3639b4cbb5166ccb3ab5673dcf
treeb6ad4d9209a8ef0ca9df5fc8b14cf868b02b97ba
parent00b7d6ecc99e0560253a9ab50f55410db8828166
Fix warnings in arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c

Sorry if this is already fixed somewhere - I could not find it.

This fixes these warnings:

usb_ohci.c: In function 'submit_control_msg':
usb_ohci.c:1081: warning: dereferencing pointer 'data_buf.76' does break strict-aliasing rules
usb_ohci.c:1081: note: initialized from here
usb_ohci.c:1084: warning: dereferencing pointer 'data_buf.76' does break strict-aliasing rules
usb_ohci.c:1084: note: initialized from here
usb_ohci.c:1087: warning: dereferencing pointer 'data_buf.76' does break strict-aliasing rules
usb_ohci.c:1087: note: initialized from here

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c