Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1489366 > unrolled thread

[PATCH 4.7 052/184] ahci: disable correct irq for dummy ports

Started byGreg Kroah-Hartman <gregkh@linuxfoundation.org>
First post2016-09-22 20:50 +0200
Last post2016-09-22 20:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 4.7 052/184] ahci: disable correct irq for dummy ports Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-09-22 20:50 +0200

#1489366 — [PATCH 4.7 052/184] ahci: disable correct irq for dummy ports

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2016-09-22 20:50 +0200
Subject[PATCH 4.7 052/184] ahci: disable correct irq for dummy ports
Message-ID<skhei-1xN-29@gated-at.bofh.it>
4.7-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Christoph Hellwig <hch@lst.de>

commit 9b4b3f6a062b22550e62523efe5213776cdd426b upstream.

irq already contains the interrupt number for the port, don't add the
port index to it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Fixes: d684a90d38e2 ("ahci: per-port msix support")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/ata/libahci.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/ata/libahci.c
+++ b/drivers/ata/libahci.c
@@ -2516,7 +2516,7 @@ static int ahci_host_activate_multi_irqs
 
 		/* Do not receive interrupts sent by dummy ports */
 		if (!pp) {
-			disable_irq(irq + i);
+			disable_irq(irq);
 			continue;
 		}
 

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web