[U-Boot] [PATCH 4/9] ppc4xx: Fix strict-aliasing warnings in usb_ohci.c

Marek Vasut marex at denx.de
Tue Oct 16 08:28:15 CEST 2012


Dear Simon Glass,

> This fixes warnings seen with my gcc 4.6.
> 
> usb_ohci.c: In function 'submit_control_msg':
> usb_ohci.c:1046: warning: dereferencing pointer 'data_buf.70' does break
> strict-aliasing rules
> usb_ohci.c:1046: note: initialized from here
> usb_ohci.c:1048: warning: dereferencing pointer 'data_buf.70' does break
> strict-aliasing rules
> usb_ohci.c:1048: note: initialized from here
> usb_ohci.c:1050: warning: dereferencing pointer 'data_buf.70' does break
> strict-aliasing rules
[...]

Are we still seeing these?

Best regards,
Marek Vasut


More information about the U-Boot mailing list