diff options
author | Divy Le Ray <divy@chelsio.com> | 2007-11-16 11:21:39 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:04:06 -0800 |
commit | 42256f57d894a4e4aa5af42d04191d7a12f10df9 (patch) | |
tree | 3d6ee1bc7f75b02ff6a4c696dfa9c69b82a0521d /drivers/net/cxgb3/cxgb3_main.c | |
parent | cba0516ddb9153afdc0ffffb9124f5f12a3b6ae5 (diff) | |
download | op-kernel-dev-42256f57d894a4e4aa5af42d04191d7a12f10df9.zip op-kernel-dev-42256f57d894a4e4aa5af42d04191d7a12f10df9.tar.gz |
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/cxgb3_main.c')
-rw-r--r-- | drivers/net/cxgb3/cxgb3_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c index 61ffc92..bb0d1c8 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) if (err) goto irq_err; - if (request_msix_data_irqs(adap)) { + err = request_msix_data_irqs(adap); + if (err) { free_irq(adap->msix_info[0].vec, adap); goto irq_err; } |