diff options
Diffstat (limited to 'drivers/net/igb/igb_ethtool.c')
-rw-r--r-- | drivers/net/igb/igb_ethtool.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/igb/igb_ethtool.c b/drivers/net/igb/igb_ethtool.c index 88e13f7e566f..2e238bfa1f91 100644 --- a/drivers/net/igb/igb_ethtool.c +++ b/drivers/net/igb/igb_ethtool.c | |||
@@ -1133,21 +1133,21 @@ static int igb_intr_test(struct igb_adapter *adapter, u64 *data) | |||
1133 | /* Hook up test interrupt handler just for this test */ | 1133 | /* Hook up test interrupt handler just for this test */ |
1134 | if (adapter->msix_entries) { | 1134 | if (adapter->msix_entries) { |
1135 | if (request_irq(adapter->msix_entries[0].vector, | 1135 | if (request_irq(adapter->msix_entries[0].vector, |
1136 | &igb_test_intr, 0, netdev->name, adapter)) { | 1136 | igb_test_intr, 0, netdev->name, adapter)) { |
1137 | *data = 1; | 1137 | *data = 1; |
1138 | return -1; | 1138 | return -1; |
1139 | } | 1139 | } |
1140 | } else if (adapter->flags & IGB_FLAG_HAS_MSI) { | 1140 | } else if (adapter->flags & IGB_FLAG_HAS_MSI) { |
1141 | shared_int = false; | 1141 | shared_int = false; |
1142 | if (request_irq(irq, | 1142 | if (request_irq(irq, |
1143 | &igb_test_intr, 0, netdev->name, adapter)) { | 1143 | igb_test_intr, 0, netdev->name, adapter)) { |
1144 | *data = 1; | 1144 | *data = 1; |
1145 | return -1; | 1145 | return -1; |
1146 | } | 1146 | } |
1147 | } else if (!request_irq(irq, &igb_test_intr, IRQF_PROBE_SHARED, | 1147 | } else if (!request_irq(irq, igb_test_intr, IRQF_PROBE_SHARED, |
1148 | netdev->name, adapter)) { | 1148 | netdev->name, adapter)) { |
1149 | shared_int = false; | 1149 | shared_int = false; |
1150 | } else if (request_irq(irq, &igb_test_intr, IRQF_SHARED, | 1150 | } else if (request_irq(irq, igb_test_intr, IRQF_SHARED, |
1151 | netdev->name, adapter)) { | 1151 | netdev->name, adapter)) { |
1152 | *data = 1; | 1152 | *data = 1; |
1153 | return -1; | 1153 | return -1; |