[U-Boot] [PATCH v2] board/linkstation/ide.c: Fix compile warning
Wolfgang Denk
wd at denx.de
Tue Sep 22 23:54:03 CEST 2009
In message <1252967162-15935-1-git-send-email-wd at denx.de> you wrote:
> Fix warning: ide.c:60: warning: dereferencing type-punned pointer will
> break strict-aliasing rules
>
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> Cc: Guennadi Liakhovetski <lg at denx.de>
>
> ---
> v2: Better implementation as suggested by Scott Wood in
> http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/67840/focus=67891
>
> board/linkstation/ide.c | 6 ++++--
> 1 files changed, 4 insertions(+), 2 deletions(-)
Applied.
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
...computer hardware progress is so fast. No other technology since
civilization began has seen six orders of magnitude in performance-
price gain in 30 years. - Fred Brooks, Jr.
More information about the U-Boot
mailing list