• R
    qlge: Fix sparse warnings for tx ring indexes. · 3537d54c
    Ron Mercer 提交于
    Warnings:
    drivers/net/qlge/qlge_main.c:1474:34: warning: restricted degrades to integer
    drivers/net/qlge/qlge_main.c:1475:36: warning: restricted degrades to integer
    drivers/net/qlge/qlge_main.c:1592:51: warning: restricted degrades to integer
    drivers/net/qlge/qlge_main.c:1941:20: warning: incorrect type in assignment (different base types)
    drivers/net/qlge/qlge_main.c:1941:20:    expected restricted unsigned int [usertype] tid
    drivers/net/qlge/qlge_main.c:1941:20:    got int [signed] index
    drivers/net/qlge/qlge_main.c:1945:24: warning: incorrect type in assignment (different base types)
    drivers/net/qlge/qlge_main.c:1945:24:    expected restricted unsigned int [usertype] txq_idx
    drivers/net/qlge/qlge_main.c:1945:24:    got unsigned int [unsigned] [usertype] tx_ring_idx
    Signed-off-by: NRon Mercer <ron.mercer@qlogic.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    3537d54c
qlge.h 39.9 KB