• M
    GCC4.6: Fix warnings in pxa_mmc.c · a231f04f
    Marek Vasut 提交于
    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: NMarek Vasut <marek.vasut@gmail.com>
    Cc: Wolfgang Denk <wd@denx.de>
    Cc: Simon Glass <sjg@chromium.org>
    Cc: Mike Frysinger <vapier@gentoo.org>
    a231f04f
pxa_mmc.c 17.7 KB