Commit 42256f57 authored by Divy Le Ray's avatar Divy Le Ray Committed by David S. Miller
Browse files

cxgb3 - fix MSI-X failure path



Return error code when msi-x settings fail.

Signed-off-by: default avatarDivy Le Ray <divy@chelsio.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent cba0516d
...@@ -839,7 +839,8 @@ static int cxgb_up(struct adapter *adap) ...@@ -839,7 +839,8 @@ static int cxgb_up(struct adapter *adap)
if (err) if (err)
goto irq_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); free_irq(adap->msix_info[0].vec, adap);
goto irq_err; goto irq_err;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment