]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Use cached MSI/MSI-X offsets from dev, not from msi_desc
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 17 Apr 2013 23:34:36 +0000 (17:34 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 23 Apr 2013 15:50:30 +0000 (09:50 -0600)
commit4c094d96421e110adc7ad90a5679223894d4e718
tree1df750a0fee40c799c98795aefa5fc22541364ed
parent35f8cf1ed62092da442bbd70044fb207c905f7be
PCI: Use cached MSI/MSI-X offsets from dev, not from msi_desc

We always know the type (MSI vs MSI-X), so we can use the correct
cached capability offset rather than relying on the copy in the
msi_attrib.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/msi.c