[U-Boot] [PATCH v2] OMAP3 MMC: Fix warning dereferencing type-punned pointer

Tom Tom.Rix at windriver.com
Fri Sep 25 22:08:44 CEST 2009


Dirk Behme wrote:
> Fix warning
> 
> dereferencing type-punned pointer will break strict-aliasing rules
> 
> Signed-off-by: Dirk Behme <dirk.behme at googlemail.com>
> CC: Steve Sakoman <sakoman at gmail.com>
> 

This may be improved by consolidating the unions into the omap3 mmc.h file
and using a pointer to union in the mmc_send_cmd.

may == your choice

Ack-ed
Tom


More information about the U-Boot mailing list