[U-Boot] [PATCH] fdt: armv8: Fix build warnings on armv8
Simon Glass
sjg at chromium.org
Mon Jul 20 15:25:39 CEST 2015
On 19 July 2015 at 20:13, Simon Glass <sjg at chromium.org> wrote:
> On 26 June 2015 at 05:56, Haikun Wang <haikun.wang at freescale.com> wrote:
>> From: Haikun Wang <Haikun.Wang at freescale.com>
>>
>> Fix below build warnings on armv8,
>> drivers/spi/fsl_dspi.c: In function ‘fsl_dspi_ofdata_to_platdata’:
>> drivers/spi/fsl_dspi.c:667:2:
>> warning: format ‘%x’ expects argument of type ‘unsigned int’,
>> but argument 2 has type ‘fdt_addr_t’ [-Wformat=]
>> debug("DSPI: regs=0x%x, max-frequency=%d, endianess=%s, num-cs=%d\n",
>> ^
>> lib/fdtdec.c: In function ‘fdtdec_get_addr_size’:
>> lib/fdtdec.c:105:4:
>> warning: format ‘%lx’ expects argument of type ‘long unsigned int’,
>> but argument 3 has type ‘fdt_size_t’ [-Wformat=]
>> debug("addr=%08lx, size=%08lx\n",
>> ^
>>
>> Signed-off-by: Haikun Wang <haikun.wang at freescale.com>
>> ---
>> drivers/spi/fsl_dspi.c | 4 ++--
>> lib/fdtdec.c | 4 ++--
>> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> Acked-by: Simon Glass <sjg at chromium.org>
>
Applied to u-boot-fdt, thanks!
More information about the U-Boot
mailing list