From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 27 Oct 2011 23:59:53 +0200 Subject: [U-Boot] [PATCH 07/18] GCC4.6: Squash warnings in fsl_pci_init.c In-Reply-To: <1319535604-20831-8-git-send-email-marek.vasut@gmail.com> References: <1319535604-20831-1-git-send-email-marek.vasut@gmail.com> <1319535604-20831-8-git-send-email-marek.vasut@gmail.com> Message-ID: <20111027215953.DC1BE12B7BBC@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Marek Vasut, In message <1319535604-20831-8-git-send-email-marek.vasut@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 > Cc: Wolfgang Denk > Cc: Simon Glass > Cc: Mike Frysinger > --- > 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