[U-Boot] [PATCH 2/7] common/board_f: fix gcc warning on MIPS64

Simon Glass sjg at chromium.org
Mon Nov 17 07:26:36 CET 2014


Hi Daniel,

On 15 November 2014 22:46, Daniel Schwierzeck
<daniel.schwierzeck at gmail.com> wrote:
> This fixes following warning when compiled with MIPS64
>
> common/board_f.c: In function 'display_text_info':
> common/board_f.c:150:2: warning: format '%X' expects argument i
>   of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
>   debug("U-Boot code: %08X -> %08lX  BSS: -> %08lX\n",
>
> Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>

Thanks, looks cleaner too.

Acked-by: Simon Glass <sjg at chromium.org>

Regards,
Simon


More information about the U-Boot mailing list