Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

mmc.c

Forked from Reform / reform-boundary-uboot
Loading
  • Wolfgang Denk's avatar
    fe64fd42
    mmc: fix compiler warnings · fe64fd42
    Wolfgang Denk authored
    
    Commit d2bf29e3 caused a number of compiler warnings:
    
    mmc.c: In function 'mmc_bwrite':
    mmc.c:97: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long unsigned int'
    mmc.c:97: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'lbaint_t'
    mmc.c: In function 'mmc_bread':
    mmc.c:229: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long unsigned int'
    mmc.c:229: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'lbaint_t'
    
    Fix these.
    
    Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
    Cc: Lei Wen <leiwen@marvell.com>
    fe64fd42
    History
    mmc: fix compiler warnings
    Wolfgang Denk authored
    
    Commit d2bf29e3 caused a number of compiler warnings:
    
    mmc.c: In function 'mmc_bwrite':
    mmc.c:97: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long unsigned int'
    mmc.c:97: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'lbaint_t'
    mmc.c: In function 'mmc_bread':
    mmc.c:229: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long unsigned int'
    mmc.c:229: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'lbaint_t'
    
    Fix these.
    
    Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
    Cc: Lei Wen <leiwen@marvell.com>