[U-Boot] [PATCH 8/9] GCC4.6: Squash warnings in ddr[123]_dimm_params.c

Kumar Gala galak at kernel.crashing.org
Tue Oct 25 15:16:48 CEST 2011


On Oct 25, 2011, at 4:37 AM, Marek Vasut 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(-)

Acked-by: Kumar Gala <galak at kernel.crashing.org>

[ Are individual maintainers pick these up or is Wolfgang? ]

- k


More information about the U-Boot mailing list