+ rapidio-tsi721-use-pci_enable_msix_exact-instead-of-pci_enable_msix.patch added to -mm tree
Subject: + rapidio-tsi721-use-pci_enable_msix_exact-instead-of-pci_enable_msix.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 13 May 2014 14:46:55 -0700
The patch titled
Subject: rapidio/tsi721: use pci_enable_msix_exact() instead of pci_enable_msix()
has been added to the -mm tree. Its filename is
rapidio-tsi721-use-pci_enable_msix_exact-instead-of-pci_enable_msix.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/rapidio-tsi721-use-pci_enable_msix_exact-instead-of-pci_enable_msix.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/rapidio-tsi721-use-pci_enable_msix_exact-instead-of-pci_enable_msix.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Alexander Gordeev <[email protected]>
Subject: rapidio/tsi721: use pci_enable_msix_exact() instead of pci_enable_msix()
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces.
---
drivers/rapidio/devices/tsi721.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-)
drivers/rapidio/devices/tsi721.c renamed from drivers/rapidio/devices/tsi721.c~rapidio-tsi721-use-pci_enable_msix_exact-instead-of-pci_enable_msix +3 -8
@@ -768,15 +768,10 @@ static int tsi721_enable_msix(struct tsi }#endif /* CONFIG_RAPIDIO_DMA_ENGINE */ - err =pci_enable_msix (priv->pdev, entries,ARRAY_SIZE (entries)); + err =pci_enable_msix_exact (priv->pdev, entries,ARRAY_SIZE (entries));if (err) { -if (err >0 ) -dev_info (&priv->pdev->dev, -"Only %d MSI-X vectors available, " -"not using MSI-X\n" , err); -else -dev_err (&priv->pdev->dev, -"Failed to enable MSI-X (err=%d)\n" , err); +dev_err (&priv->pdev->dev, +"Failed to enable MSI-X (err=%d)\n" , err);return err; }
_
Patches currently in -mm which might be from [email protected] are
rapidio-tsi721-use-pci_enable_msix_exact-instead-of-pci_enable_msix.patch linux-next.patch