PCI: Switch msix_program_entries() to use pci_msix_desc_addr()
authorChristoph Hellwig <hch@lst.de>
Tue, 12 Jul 2016 09:20:15 +0000 (18:20 +0900)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 21 Jul 2016 20:49:33 +0000 (15:49 -0500)
commit12eb21de1f26233ad195ffe991697d61790f4193
tree696151ef1a21005a756648cb2691080750bc92f2
parent5eb6d660193ccc471b415d6f31e17312a63de167
PCI: Switch msix_program_entries() to use pci_msix_desc_addr()

Instead of relying on the msix_entry structure for the vector number, read
it from the msi_desc.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Alexander Gordeev <agordeev@redhat.com>
drivers/pci/msi.c