]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
GCC4.6: Fix warnings in pxa_mmc.c
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 24 Oct 2011 23:39:57 +0000 (23:39 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 27 Oct 2011 21:54:06 +0000 (23:54 +0200)
commita231f04f1ad4f07af78696f516a9719d5b3deb29
tree4db8380d41909f56eaa82b7898b9e5e6180e38fa
parent66d1a2e3bb2512c48261bc08452f9866468b7d9a
GCC4.6: Fix warnings in pxa_mmc.c

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@gmail.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Mike Frysinger <vapier@gentoo.org>
drivers/mmc/pxa_mmc.c