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>
This commit is contained in:
parent
cba0516ddb
commit
42256f57d8
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue