Skip to contentSkip to conversation

netxen: fix msi irq setup

PATCH Applied Dhananjay Phadke 2 participants 3 messages May 14, 2009 – May 19, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 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 be339aee634d5cb98a8df8d6febe04002ec497f3.

---
 drivers/net/netxen/netxen_nic_main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/netxen/netxen_nic_main.c +1 -0
index 86ca081..50477f5 100644
@@ -539,6 +539,7 @@ netxen_setup_intr(struct netxen_adapter *adapter)
 		adapter->msi_tgt_status =
 			msi_tgt_status[adapter->ahw.pci_func];
 		dev_info(&pdev->dev, "using msi interrupts\n");
+		adapter->msix_entries[0].vector = pdev->irq;
 		return;
 	}
 
Signature · 1 line
1.6.0.2
maintainer Applied
#1 lore raw

From: Dhananjay Phadke <[email protected]>
Date: Thu, 14 May 2009 00:16:08 -0700

Quoted 6 lines

The pdev->irq was not saved in netxen_adapter, causing request_irq() with invalid irq number.

This was broken in commit be339aee634d5cb98a8df8d6febe04002ec497f3.

Applied, but please reference commits also by header line text. See below for the actual commit message I used so you can see how it should be done, thanks!

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 be339aee634d5cb98a8df8d6febe04002ec497f3 ("netxen: fix irq tear down and msix leak.").

#2 lore raw
Quoted 3 lines · David Miller

Applied, but please reference commits also by header line text. See below for the actual commit message I used so you can see how it should be done, thanks!

Thanks for fixing up this time, will get it right next time.