diff options
Diffstat (limited to 'drivers/net/igb/igb_main.c')
-rw-r--r-- | drivers/net/igb/igb_main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c index 0cab5e2b0894..958305e92d67 100644 --- a/drivers/net/igb/igb_main.c +++ b/drivers/net/igb/igb_main.c | |||
@@ -525,7 +525,7 @@ static int igb_request_msix(struct igb_adapter *adapter) | |||
525 | int i, err = 0, vector = 0; | 525 | int i, err = 0, vector = 0; |
526 | 526 | ||
527 | err = request_irq(adapter->msix_entries[vector].vector, | 527 | err = request_irq(adapter->msix_entries[vector].vector, |
528 | &igb_msix_other, 0, netdev->name, adapter); | 528 | igb_msix_other, 0, netdev->name, adapter); |
529 | if (err) | 529 | if (err) |
530 | goto out; | 530 | goto out; |
531 | vector++; | 531 | vector++; |
@@ -548,7 +548,7 @@ static int igb_request_msix(struct igb_adapter *adapter) | |||
548 | sprintf(q_vector->name, "%s-unused", netdev->name); | 548 | sprintf(q_vector->name, "%s-unused", netdev->name); |
549 | 549 | ||
550 | err = request_irq(adapter->msix_entries[vector].vector, | 550 | err = request_irq(adapter->msix_entries[vector].vector, |
551 | &igb_msix_ring, 0, q_vector->name, | 551 | igb_msix_ring, 0, q_vector->name, |
552 | q_vector); | 552 | q_vector); |
553 | if (err) | 553 | if (err) |
554 | goto out; | 554 | goto out; |
@@ -875,7 +875,7 @@ static int igb_request_irq(struct igb_adapter *adapter) | |||
875 | } | 875 | } |
876 | 876 | ||
877 | if (adapter->flags & IGB_FLAG_HAS_MSI) { | 877 | if (adapter->flags & IGB_FLAG_HAS_MSI) { |
878 | err = request_irq(adapter->pdev->irq, &igb_intr_msi, 0, | 878 | err = request_irq(adapter->pdev->irq, igb_intr_msi, 0, |
879 | netdev->name, adapter); | 879 | netdev->name, adapter); |
880 | if (!err) | 880 | if (!err) |
881 | goto request_done; | 881 | goto request_done; |
@@ -885,7 +885,7 @@ static int igb_request_irq(struct igb_adapter *adapter) | |||
885 | adapter->flags &= ~IGB_FLAG_HAS_MSI; | 885 | adapter->flags &= ~IGB_FLAG_HAS_MSI; |
886 | } | 886 | } |
887 | 887 | ||
888 | err = request_irq(adapter->pdev->irq, &igb_intr, IRQF_SHARED, | 888 | err = request_irq(adapter->pdev->irq, igb_intr, IRQF_SHARED, |
889 | netdev->name, adapter); | 889 | netdev->name, adapter); |
890 | 890 | ||
891 | if (err) | 891 | if (err) |