[U-Boot] [PATCH 8/9] GCC4.6: Squash warnings in ddr[123]_dimm_params.c
Wolfgang Denk
wd at denx.de
Thu Oct 27 23:56:42 CEST 2011
Dear Marek Vasut,
In message <1319535462-20693-9-git-send-email-marek.vasut at gmail.com> you wrote:
> ddr1_dimm_params.c: In function 'compute_ranksize':
> ddr1_dimm_params.c:44: warning: format '%08x' expects type 'unsigned int', but
> argument 2 has type 'long long unsigned int'
>
> ddr2_dimm_params.c: In function 'compute_ranksize':
> ddr2_dimm_params.c:43: warning: format '%08x' expects type 'unsigned int', but
> argument 2 has type 'long long unsigned int'
>
> ddr3_dimm_params.c: In function 'compute_ranksize':
> ddr3_dimm_params.c:74: warning: format '%16lx' expects type 'long unsigned int',
> but argument 2 has type 'long long unsigned int'
>
> 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/mpc8xxx/ddr/ddr1_dimm_params.c | 2 +-
> arch/powerpc/cpu/mpc8xxx/ddr/ddr2_dimm_params.c | 2 +-
> arch/powerpc/cpu/mpc8xxx/ddr/ddr3_dimm_params.c | 2 +-
> 3 files changed, 3 insertions(+), 3 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
"The great question... which I have not been able to answer... is,
`What does woman want?'" - Sigmund Freud
More information about the U-Boot
mailing list