• Ron Mercer's avatar
    qlge: Fix sparse warning regarding rx buffer queues. · 2c9a0d41
    Ron Mercer authored
    Warnings:
    drivers/net/qlge/qlge_main.c:909:17: warning: incorrect type in assignment (different base types)
    drivers/net/qlge/qlge_main.c:909:17:    expected unsigned int [unsigned] [usertype] addr_lo
    drivers/net/qlge/qlge_main.c:909:17:    got restricted unsigned int [usertype] <noident>
    drivers/net/qlge/qlge_main.c:911:17: warning: incorrect type in assignment (different base types)
    drivers/net/qlge/qlge_main.c:911:17:    expected unsigned int [unsigned] [usertype] addr_hi
    drivers/net/qlge/qlge_main.c:911:17:    got restricted unsigned int [usertype] <noident>
    drivers/net/qlge/qlge_main.c:974:17: warning: incorrect type in assignment (different base types)
    drivers/net/qlge/qlge_main.c:974:17:    expected unsigned int [unsigned] [usertype] addr_lo
    drivers/net/qlge/qlge_main.c:974:17:    got restricted unsigned int [usertype] <noident>
    drivers/net/qlge/qlge_main.c:975:17: warning: incorrect type in assignment (different base types)
    drivers/net/qlge/qlge_main.c:975:17:    expected unsigned int [unsigned] [usertype] addr_hi
    drivers/net/qlge/qlge_main.c:975:17:    got restricted unsigned int [usertype] <noident>
    drivers/net/qlge/qlge_main.c:2132:16: warning: incorrect type in assignment (different base types)
    drivers/net/qlge/qlge_main.c:2132:16:    expected unsigned int [unsigned] [usertype] addr_lo
    drivers/net/qlge/qlge_main.c:2132:16:    got restricted unsigned int [usertype] <noident>
    drivers/net/qlge/qlge_main.c:2133:16: warning: incorrect type in assignment (different base types)
    drivers/net/qlge/qlge_main.c:2133:16:    expected unsigned int [unsigned] [usertype] addr_hi
    drivers/net/qlge/qlge_main.c:2133:16:    got restricted unsigned int [usertype] <noident>
    drivers/net/qlge/qlge_main.c:2212:15: warning: incorrect type in assignment (different base types)
    drivers/net/qlge/qlge_main.c:2212:15:    expected unsigned int [unsigned] [usertype] addr_lo
    drivers/net/qlge/qlge_main.c:2212:15:    got restricted unsigned int [usertype] <noident>
    drivers/net/qlge/qlge_main.c:2214:15: warning: incorrect type in assignment (different base types)
    drivers/net/qlge/qlge_main.c:2214:15:    expected unsigned int [unsigned] [usertype] addr_hi
    drivers/net/qlge/qlge_main.c:2214:15:    got restricted unsigned int [usertype] <noident>
    Signed-off-by: default avatarRon Mercer <ron.mercer@qlogic.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    2c9a0d41
qlge_main.c 106 KB