qlcnic: fix diag resource allocation
authorSony Chacko <sony.chacko@qlogic.com>
Sat, 24 Jul 2010 18:32:18 +0000 (18:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jul 2010 23:32:41 +0000 (16:32 -0700)
commit57e46248a71bfcafb3937a7a5ed8ad324c9fc4f0
tree8ec591f1a9ded2733011b2c30204f983951c934e
parent36a1898ddfde3e36a6813ac72540e011a3de57ae
qlcnic: fix diag resource allocation

netif_device_attach missing from error path in qlcnic_diag_alloc_res

Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_main.c