PCI/MSI: Use msi_get_virq() in pci_get_vector()
authorThomas Gleixner <tglx@linutronix.de>
Fri, 10 Dec 2021 22:19:25 +0000 (23:19 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Dec 2021 21:16:41 +0000 (22:16 +0100)
commit82ff8e6b78fc4587a4255301f0a283506daf11b6
tree0e604e370fc5fa3c986e373c03a6d8b62aa4a5d5
parentcf15f43acaad31dabb2646cef170a506a1d663eb
PCI/MSI: Use msi_get_virq() in pci_get_vector()

Use msi_get_vector() and handle the return value to be compatible.

No functional change intended.

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.841243231@linutronix.de
drivers/pci/msi/msi.c