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

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


Dear Marek Vasut,

In message <1319535604-20831-8-git-send-email-marek.vasut at gmail.com> you wrote:
> fsl_pci_init.c: In function 'fsl_pci_init':
> fsl_pci_init.c:308: warning: format '%08x' expects type 'unsigned int', but
> argument 6 has type 'long unsigned int'
> fsl_pci_init.c:347: warning: format '%x' expects type 'unsigned int', but
> argument 2 has type 'volatile u32 *'
> 
> fsl_pci_init.c: In function 'fsl_pci_init':
> fsl_pci_init.c:308: warning: format '%016llx' expects type 'long long unsigned
> int', but argument 4 has type 'pci_addr_t'
> fsl_pci_init.c:308: warning: format '%016llx' expects type 'long long unsigned
> int', but argument 5 has type 'pci_size_t'
> fsl_pci_init.c:308: warning: format '%08x' expects type 'unsigned int', but
> argument 6 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/pci/fsl_pci_init.c |    8 ++++----
>  1 files changed, 4 insertions(+), 4 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 prejudices people feel about each other disappear  when  then
get to know each other.
	-- Kirk, "Elaan of Troyius", stardate 4372.5


More information about the U-Boot mailing list