From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Fri, 28 Oct 2011 00:00:20 +0200 Subject: [U-Boot] [PATCH 11/18] GCC4.6: Fix warnings in pxa_mmc.c In-Reply-To: <1319535604-20831-12-git-send-email-marek.vasut@gmail.com> References: <1319535604-20831-1-git-send-email-marek.vasut@gmail.com> <1319535604-20831-12-git-send-email-marek.vasut@gmail.com> Message-ID: <20111027220020.C87EB12B7BBC@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-12-git-send-email-marek.vasut@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 > Cc: Wolfgang Denk > Cc: Simon Glass > Cc: Mike Frysinger > --- > 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.