public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] s390/pci: Use irq_data_get_msi_desc()
@ 2022-11-12 18:47 Thomas Gleixner
  2022-11-14  8:55 ` Niklas Schnelle
  2022-11-14  9:36 ` Alexander Gordeev
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Gleixner @ 2022-11-12 18:47 UTC (permalink / raw)
  To: linux-s390; +Cc: Niklas Schnelle, Heiko Carstens, Christian Borntraeger

No point in doing another lookup of irq_data, it's already provided as
an argument.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/s390/pci/pci_irq.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/s390/pci/pci_irq.c
+++ b/arch/s390/pci/pci_irq.c
@@ -132,7 +132,7 @@ static int zpci_clear_irq(struct zpci_de
 static int zpci_set_irq_affinity(struct irq_data *data, const struct cpumask *dest,
 				 bool force)
 {
-	struct msi_desc *entry = irq_get_msi_desc(data->irq);
+	struct msi_desc *entry = irq_data_get_msi_desc(data);
 	struct msi_msg msg = entry->msg;
 	int cpu_addr = smp_cpu_get_cpu_address(cpumask_first(dest));
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-11-14  9:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-12 18:47 [PATCH] s390/pci: Use irq_data_get_msi_desc() Thomas Gleixner
2022-11-14  8:55 ` Niklas Schnelle
2022-11-14  9:18   ` Thomas Gleixner
2022-11-14  9:36 ` Alexander Gordeev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox