]> git.baikalelectronics.ru Git - kernel.git/commit
qlge: Fix sparse warnings for tx ring indexes.
authorRon Mercer <ron.mercer@qlogic.com>
Tue, 6 Jan 2009 02:19:59 +0000 (18:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jan 2009 02:19:59 +0000 (18:19 -0800)
commit3537d54c0c39de5738bba8d19f128478b0b96a71
tree5ecdf9eb604ffa869bf9034928adfbcc8d4ffb3b
parent2c9a0d41e944807bf763f42e4a3526210e98c741
qlge: Fix sparse warnings for tx ring indexes.

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: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge.h