Skip to content

Commit f67f340

Browse files
Dhananjay Phadkedavem330
authored andcommitted
netxen: fix msi irq setup
The pdev->irq was not saved in netxen_adapter, causing request_irq() with invalid irq number. This was broken in commit be339ae ("netxen: fix irq tear down and msix leak."). Signed-off-by: Dhananjay Phadke <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent bb803cf commit f67f340

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/netxen/netxen_nic_main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,7 @@ netxen_setup_intr(struct netxen_adapter *adapter)
539539
adapter->msi_tgt_status =
540540
msi_tgt_status[adapter->ahw.pci_func];
541541
dev_info(&pdev->dev, "using msi interrupts\n");
542+
adapter->msix_entries[0].vector = pdev->irq;
542543
return;
543544
}
544545

0 commit comments

Comments
 (0)