]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/MSI: Simplify pci_irq_get_affinity()
authorThomas Gleixner <tglx@linutronix.de>
Fri, 10 Dec 2021 22:19:26 +0000 (23:19 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Dec 2021 21:16:41 +0000 (22:16 +0100)
commit5b5d833343f1e80e7452d5ff6058815e42f02b2b
tree33d6ac834100830052f76b7b75271be16844598e
parent23c462599843e71cbf9362ed5cd79acfcf140f2f
PCI/MSI: Simplify pci_irq_get_affinity()

Replace open coded MSI descriptor chasing and use the proper accessor
functions instead.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20211210221814.900929381@linutronix.de
drivers/pci/msi/msi.c