[U-Boot] [PATCH 11/18] GCC4.6: Fix warnings in pxa_mmc.c

Wolfgang Denk wd at denx.de
Fri Oct 28 00:00:20 CEST 2011


Dear Marek Vasut,

In message <1319535604-20831-12-git-send-email-marek.vasut at gmail.com> you wrote:
> pxa_mmc.c: In function 'mmc_cmd':
> pxa_mmc.c:77:2: warning: format '%08x' expects type 'unsigned int', but argument
> 2 has type 'ulong'
> pxa_mmc.c: In function 'mmc_block_read':
> pxa_mmc.c:110:2: warning: format '%d' expects type 'int', but argument 4 has
> type 'ulong'
> pxa_mmc.c: In function 'pxa_mmc_write':
> pxa_mmc.c:327:2: warning: format '%lx' expects type 'long unsigned int', but
> argument 2 has type 'uchar *'
> pxa_mmc.c:349:2: warning: format '%lx' expects type 'long unsigned int', but
> argument 2 has type 'uchar *'
> pxa_mmc.c:354:3: warning: format '%lx' expects type 'long unsigned int', but
> argument 2 has type 'uchar *'
> pxa_mmc.c:362:2: warning: format '%lx' expects type 'long unsigned int', but
> argument 2 has type 'uchar *'
> pxa_mmc.c:367:3: warning: format '%lx' expects type 'long unsigned int', but
> argument 2 has type 'uchar *'
> 
> 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/mmc/pxa_mmc.c |   32 ++++++++++++++++----------------
>  1 files changed, 16 insertions(+), 16 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
The best things in life are for a fee.


More information about the U-Boot mailing list