[U-Boot] [PATCH 17/18] GCC4.6: Squash warnings in fec_mxc.c
Wolfgang Denk
wd at denx.de
Fri Oct 28 00:00:56 CEST 2011
Dear Marek Vasut,
In message <1319535604-20831-18-git-send-email-marek.vasut at gmail.com> you wrote:
> fec_mxc.c: In function 'fec_mii_setspeed':
> fec_mxc.c:112:2: warning: format '%#lx' expects type 'long unsigned int', but
> argument 2 has type 'u32'
> fec_mxc.c: In function 'fec_recv':
> fec_mxc.c:632:2: warning: format '%x' expects type 'unsigned int', but argument
> 2 has type 'long 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/fec_mxc.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 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
Yes, it's a technical challenge, and you have to kind of admire
people who go to the lengths of actually implementing it, but at the
same time you wonder about their IQ...
-- Linus Torvalds in <5phda5$ml6$1 at palladium.transmeta.com>
More information about the U-Boot
mailing list