]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit23c462599843e71cbf9362ed5cd79acfcf140f2f
tree0e604e370fc5fa3c986e373c03a6d8b62aa4a5d5
parentb698f11ec015289b3c4b05d8dade80223716b8c4
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