Commit 8bf371e6 authored by Thomas Falcon's avatar Thomas Falcon Committed by David S. Miller

ibmvnic: Fix missing brackets in init_sub_crq_irqs

Signed-off-by: default avatarThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9888d7b0
...@@ -1461,14 +1461,16 @@ static int init_sub_crq_irqs(struct ibmvnic_adapter *adapter) ...@@ -1461,14 +1461,16 @@ static int init_sub_crq_irqs(struct ibmvnic_adapter *adapter)
return rc; return rc;
req_rx_irq_failed: req_rx_irq_failed:
for (j = 0; j < i; j++) for (j = 0; j < i; j++) {
free_irq(adapter->rx_scrq[j]->irq, adapter->rx_scrq[j]); free_irq(adapter->rx_scrq[j]->irq, adapter->rx_scrq[j]);
irq_dispose_mapping(adapter->rx_scrq[j]->irq); irq_dispose_mapping(adapter->rx_scrq[j]->irq);
}
i = adapter->req_tx_queues; i = adapter->req_tx_queues;
req_tx_irq_failed: req_tx_irq_failed:
for (j = 0; j < i; j++) for (j = 0; j < i; j++) {
free_irq(adapter->tx_scrq[j]->irq, adapter->tx_scrq[j]); free_irq(adapter->tx_scrq[j]->irq, adapter->tx_scrq[j]);
irq_dispose_mapping(adapter->rx_scrq[j]->irq); irq_dispose_mapping(adapter->rx_scrq[j]->irq);
}
release_sub_crqs_no_irqs(adapter); release_sub_crqs_no_irqs(adapter);
return rc; return rc;
} }
......
Markdown is supported
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