Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Marek Vasut's avatar
    4b210e8b
    GCC4.6: Squash subsequent warnings in usb_storage.c · 4b210e8b
    Marek Vasut authored
    
    usb_storage.c: In function ‘us_one_transfer’:
    usb_storage.c:377:7: warning: format ‘%X’ expects argument of type ‘unsigned
    int’, but argument 2 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c:389:6: warning: format ‘%d’ expects argument of type ‘int’, but
    argument 2 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c:394:6: warning: format ‘%d’ expects argument of type ‘int’, but
    argument 2 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c: In function ‘usb_stor_BBB_reset’:
    usb_storage.c:442:2: warning: format ‘%X’ expects argument of type ‘unsigned
    int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c:448:2: warning: format ‘%X’ expects argument of type ‘unsigned
    int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c:454:2: warning: format ‘%X’ expects argument of type ‘unsigned
    int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c: In function ‘usb_stor_CB_reset’:
    usb_storage.c:482:2: warning: format ‘%X’ expects argument of type ‘unsigned
    int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c: In function ‘usb_stor_CB_comdat’:
    usb_storage.c:572:3: warning: format ‘%X’ expects argument of type ‘unsigned
    int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c:584:4: warning: format ‘%X’ expects argument of type ‘unsigned
    int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c: In function ‘usb_stor_BBB_transport’:
    usb_storage.c:782:3: warning: format ‘%d’ expects argument of type ‘int’, but
    argument 3 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c: In function ‘usb_stor_CB_transport’:
    usb_storage.c:807:2: warning: format ‘%X’ expects argument of type ‘unsigned
    int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c:830:3: warning: format ‘%X’ expects argument of type ‘unsigned
    int’, but argument 2 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c:857:3: warning: format ‘%d’ expects argument of type ‘int’, but
    argument 2 has type ‘long unsigned int’ [-Wformat]
    
    Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
    Cc: Wolfgang Denk <wd@denx.de>
    Cc: Simon Glass <sjg@chromium.org>
    Cc: Mike Frysinger <vapier@gentoo.org>
    Cc: Remy Bohmer <linux@bohmer.net>
    4b210e8b
    History
    GCC4.6: Squash subsequent warnings in usb_storage.c
    Marek Vasut authored
    
    usb_storage.c: In function ‘us_one_transfer’:
    usb_storage.c:377:7: warning: format ‘%X’ expects argument of type ‘unsigned
    int’, but argument 2 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c:389:6: warning: format ‘%d’ expects argument of type ‘int’, but
    argument 2 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c:394:6: warning: format ‘%d’ expects argument of type ‘int’, but
    argument 2 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c: In function ‘usb_stor_BBB_reset’:
    usb_storage.c:442:2: warning: format ‘%X’ expects argument of type ‘unsigned
    int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c:448:2: warning: format ‘%X’ expects argument of type ‘unsigned
    int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c:454:2: warning: format ‘%X’ expects argument of type ‘unsigned
    int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c: In function ‘usb_stor_CB_reset’:
    usb_storage.c:482:2: warning: format ‘%X’ expects argument of type ‘unsigned
    int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c: In function ‘usb_stor_CB_comdat’:
    usb_storage.c:572:3: warning: format ‘%X’ expects argument of type ‘unsigned
    int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c:584:4: warning: format ‘%X’ expects argument of type ‘unsigned
    int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c: In function ‘usb_stor_BBB_transport’:
    usb_storage.c:782:3: warning: format ‘%d’ expects argument of type ‘int’, but
    argument 3 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c: In function ‘usb_stor_CB_transport’:
    usb_storage.c:807:2: warning: format ‘%X’ expects argument of type ‘unsigned
    int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c:830:3: warning: format ‘%X’ expects argument of type ‘unsigned
    int’, but argument 2 has type ‘long unsigned int’ [-Wformat]
    usb_storage.c:857:3: warning: format ‘%d’ expects argument of type ‘int’, but
    argument 2 has type ‘long unsigned int’ [-Wformat]
    
    Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
    Cc: Wolfgang Denk <wd@denx.de>
    Cc: Simon Glass <sjg@chromium.org>
    Cc: Mike Frysinger <vapier@gentoo.org>
    Cc: Remy Bohmer <linux@bohmer.net>