[U-Boot] [PATCH 04/18] GCC4.6: Squash warnings in 4xx_enet.c

Wolfgang Denk wd at denx.de
Thu Oct 27 23:59:37 CEST 2011


Dear Marek Vasut,

In message <1319535604-20831-5-git-send-email-marek.vasut at gmail.com> you wrote:
> 4xx_enet.c: In function 'ppc_4xx_eth_init':
> 4xx_enet.c:1352: warning: format '%08x' expects type 'unsigned int', but
> argument 2 has type 'volatile struct mal_desc_t *'
> 4xx_enet.c:1352: warning: format '%08x' expects type 'unsigned int', but
> argument 3 has type 'volatile struct mal_desc_t *'
> 4xx_enet.c:1365: warning: format '%08lx' expects type 'long unsigned int', but
> argument 3 has type 'unsigned int'
> 4xx_enet.c:1376: warning: format '%08lx' expects type 'long unsigned int', but
> argument 3 has type '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>
> ---
>  drivers/net/4xx_enet.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 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
One essential to success is that you desire be an all-obsessing  one,
your thoughts and aims be co-ordinated, and your energy be concentra-
ted and applied without letup.


More information about the U-Boot mailing list