linux/drivers/net/qlge
Dan Carpenter 4da79504b2 qlge: pull NULL check ahead of dereference
There was a dereference before NULL check issue introduced in 1e213303d
"qlge: Add tx multiqueue support."  I've pulled the NULL check of
"net_rsp" forward a couple lines to avoid that.

Also Ron Mercer says that the early exit should be above the index
write.  ql_write_cq_idx(rx_ring);

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-08-19 20:48:07 -07:00
..
Makefile
qlge_dbg.c drivers/net/qlge: Use pr_<level>, shrink text a bit 2010-07-21 14:44:18 -07:00
qlge_ethtool.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
qlge_main.c qlge: pull NULL check ahead of dereference 2010-08-19 20:48:07 -07:00
qlge_mpi.c qlge: Don't use firmware when forcing firmware dump. 2010-07-05 19:41:20 -07:00
qlge.h drivers/net/qlge: Use pr_<level>, shrink text a bit 2010-07-21 14:44:18 -07:00