[U-Boot] [PATCH 06/18] GCC4.6: Squash warnings in fsl_espi.c

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


Dear Marek Vasut,

In message <1319535604-20831-7-git-send-email-marek.vasut at gmail.com> you wrote:
> fsl_espi.c: In function 'spi_setup_slave':
> fsl_espi.c:100: warning: format '%d' expects type 'int', but argument 3 has type
> 'long unsigned int'
> fsl_espi.c: In function 'spi_xfer':
> fsl_espi.c:237: warning: format '%08x' expects type 'unsigned int', but argument
> 5 has type 'const void *'
> fsl_espi.c:237: warning: format '%08x' expects type 'unsigned int', but argument
> 7 has type 'void *'
> 
> 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/spi/fsl_espi.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
If you think the problem is bad now, just wait until we've solved it.
                                                        Epstein's Law


More information about the U-Boot mailing list