aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000/e1000_ethtool.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/e1000/e1000_ethtool.c')
-rw-r--r--drivers/net/e1000/e1000_ethtool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/e1000/e1000_ethtool.c b/drivers/net/e1000/e1000_ethtool.c
index ffbae0a0b4f1..13e9ece16889 100644
--- a/drivers/net/e1000/e1000_ethtool.c
+++ b/drivers/net/e1000/e1000_ethtool.c
@@ -869,10 +869,10 @@ static int e1000_intr_test(struct e1000_adapter *adapter, u64 *data)
869 869
870 /* NOTE: we don't test MSI interrupts here, yet */ 870 /* NOTE: we don't test MSI interrupts here, yet */
871 /* Hook up test interrupt handler just for this test */ 871 /* Hook up test interrupt handler just for this test */
872 if (!request_irq(irq, &e1000_test_intr, IRQF_PROBE_SHARED, netdev->name, 872 if (!request_irq(irq, e1000_test_intr, IRQF_PROBE_SHARED, netdev->name,
873 netdev)) 873 netdev))
874 shared_int = false; 874 shared_int = false;
875 else if (request_irq(irq, &e1000_test_intr, IRQF_SHARED, 875 else if (request_irq(irq, e1000_test_intr, IRQF_SHARED,
876 netdev->name, netdev)) { 876 netdev->name, netdev)) {
877 *data = 1; 877 *data = 1;
878 return -1; 878 return -1;