[U-Boot] [PATCH 2/9] GCC4.6: Squash warnings in denali_data_eye.c

Wolfgang Denk wd at denx.de
Thu Oct 27 23:55:58 CEST 2011


Dear Marek Vasut,

In message <1319535462-20693-3-git-send-email-marek.vasut at gmail.com> you wrote:
> denali_data_eye.c: In function
> 'denali_core_search_data_eye':denali_spd_ddr2.c:646: warning: format '%d'
> expects type 'int', but argument 2 has type 'long unsigned int'
> 
> denali_data_eye.c:320: warning: format '%08lx' expects type 'long unsigned int',
> but argument 2 has type 'u32'
> denali_data_eye.c:330: warning: format '%08lx' expects type 'long unsigned int',
> but argument 2 has type 'u32'
> denali_spd_ddr2.c:676: warning: format '%d' expects type 'int', but argument 2
> has type 'long unsigned int'
> denali_data_eye.c:340: warning: format '%08lx' expects type 'long unsigned int',
> but argument 2 has type 'u32'
> denali_data_eye.c:350: warning: format '%08lx' expects type 'long unsigned int',
> but argument 2 has type 'u32'
> denali_data_eye.c:360: warning: format '%08lx' expects type 'long unsigned int',
> but argument 2 has type 'u32'
> 
> Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
> Cc: Wolfgang Denk <wd at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Mike Frysinger <vapier at gentoo.org>
> ---
>  arch/powerpc/cpu/ppc4xx/denali_data_eye.c |   10 +++++-----
>  1 files changed, 5 insertions(+), 5 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 is this place run - is it an anarchy?"
"No, I wouldn't say so; it is not that well organised..."


More information about the U-Boot mailing list