• David S. Miller's avatar
    qlge: Fix warnings in debugging code. · 53159d06
    David S. Miller authored
    drivers/net/qlge/qlge_dbg.c: In function ‘ql_dump_qdev’:
    drivers/net/qlge/qlge_dbg.c:369: warning: cast to pointer from integer of different size
    drivers/net/qlge/qlge_dbg.c:373: warning: cast to pointer from integer of different size
    drivers/net/qlge/qlge_dbg.c: In function ‘ql_dump_tx_ring’:
    drivers/net/qlge/qlge_dbg.c:457: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’
    drivers/net/qlge/qlge_dbg.c:461: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’
    drivers/net/qlge/qlge_dbg.c: In function ‘ql_dump_rx_ring’:
    drivers/net/qlge/qlge_dbg.c:557: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’
    drivers/net/qlge/qlge_dbg.c:565: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’
    drivers/net/qlge/qlge_dbg.c:575: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’
    drivers/net/qlge/qlge_dbg.c:579: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’
    drivers/net/qlge/qlge_dbg.c:598: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’
    drivers/net/qlge/qlge_dbg.c:602: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    53159d06
qlge_dbg.c 33.8 KB