aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3
diff options
context:
space:
mode:
authorDivy Le Ray <divy@chelsio.com>2007-11-16 14:21:39 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:04:06 -0500
commit42256f57d894a4e4aa5af42d04191d7a12f10df9 (patch)
tree3d6ee1bc7f75b02ff6a4c696dfa9c69b82a0521d /drivers/net/cxgb3
parentcba0516ddb9153afdc0ffffb9124f5f12a3b6ae5 (diff)
cxgb3 - fix MSI-X failure path
Return error code when msi-x settings fail. Signed-off-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/cxgb3')
-rw-r--r--drivers/net/cxgb3/cxgb3_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c
index 61ffc925eae7..bb0d1c841c0f 100644
--- a/drivers/net/cxgb3/cxgb3_main.c
+++ b/drivers/net/cxgb3/cxgb3_main.c
@@ -839,7 +839,8 @@ static int cxgb_up(struct adapter *adap)
839 if (err) 839 if (err)
840 goto irq_err; 840 goto irq_err;
841 841
842 if (request_msix_data_irqs(adap)) { 842 err = request_msix_data_irqs(adap);
843 if (err) {
843 free_irq(adap->msix_info[0].vec, adap); 844 free_irq(adap->msix_info[0].vec, adap);
844 goto irq_err; 845 goto irq_err;
845 } 846 }