[U-Boot] [PATCH] ahci: Fix gcc 4.4 compiler warning

Wolfgang Denk wd at denx.de
Thu Jul 23 21:05:09 CEST 2009


Dear Kumar Gala,

In message <1247495041-8605-2-git-send-email-galak at kernel.crashing.org> you wrote:
> ahci.c: In function 'ata_scsiop_read_capacity10':
> ahci.c:616: warning: dereferencing type-punned pointer will break strict-aliasing rules
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
>  drivers/block/ahci.c |   14 ++++++--------
>  1 files changed, 6 insertions(+), 8 deletions(-)

Applied, thanks.

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
How come everyone's going so slow if it's called rush hour?


More information about the U-Boot mailing list