[U-Boot] [PATCH v4 01/11] powerpc: cast bi_memsize to ulong for %ld usage

York Sun yorksun at freescale.com
Fri Oct 18 20:19:37 CEST 2013


On 10/18/2013 02:47 AM, Valentin Longchamp wrote:
> When exporting the new memsize without reserved PRAM area, the -Wformat
> option produces a warning since %ld is used for snprintf and bi_memsize
> is phys_size_t.
> 
> This patch removes this warning for all PRAM PowerPC boards.
> 
> Signed-off-by: Valentin Longchamp <valentin.longchamp at keymile.com>
> ---
> Changes in v4: None
> Changes in v3: None
> Changes in v2: None
> 

Applied to 85xx/next, pending merge to 85xx/master.

York





More information about the U-Boot mailing list