[U-Boot] [PATCH 9/9] GCC4.6: Squash warnings in mpc86xx/interrupts.c

Wolfgang Denk wd at denx.de
Thu Oct 27 23:56:49 CEST 2011


Dear Marek Vasut,

In message <1319535462-20693-10-git-send-email-marek.vasut at gmail.com> you wrote:
> interrupts.c: In function 'interrupt_init_cpu':
> interrupts.c:62: warning: format '%d' expects type 'int', but argument 2 has
> type 'long unsigned int'
> interrupts.c:69: warning: format '%x' expects type 'unsigned int', but argument
> 2 has type 'volatile uint *'
> interrupts.c:72: warning: format '%x' expects type 'unsigned int', but argument
> 2 has type 'volatile uint *'
> interrupts.c:75: warning: format '%x' expects type 'unsigned int', but argument
> 2 has type 'volatile uint *'
> interrupts.c:79: warning: format '%x' expects type 'unsigned int', but argument
> 2 has type 'volatile uint *'
> interrupts.c:83: warning: format '%x' expects type 'unsigned int', but argument
> 2 has type 'volatile uint *'
> 
> 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/mpc86xx/interrupts.c |   12 ++++++------
>  1 files changed, 6 insertions(+), 6 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
People with narrow minds usually have broad tongues.


More information about the U-Boot mailing list