[U-Boot] [PATCH 1/2] Fix warnings in arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c

Wolfgang Denk wd at denx.de
Fri Dec 9 10:33:40 CET 2011


Dear Simon Glass,

In message <1321417027-5639-1-git-send-email-sjg at chromium.org> you wrote:
> 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 at chromium.org>
> ---
>  arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c |   20 ++++++++++++--------
>  1 files changed, 12 insertions(+), 8 deletions(-)

Applied, thanks.

Albert, Remy - hope this is OK with you.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If God wanted me to touch my toes, he'd have put them on my knees.


More information about the U-Boot mailing list