From: Alexander Gordeev Date: Fri, 21 Feb 2014 16:53:40 +0000 (+0100) Subject: xen-pciback: Use pci_enable_msix_exact() instead of pci_enable_msix() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=efdfa3eda5d7b33c6e3c4f6e66144fcd10ed41a3;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git xen-pciback: 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. Signed-off-by: Alexander Gordeev Cc: Konrad Rzeszutek Wilk Cc: Boris Ostrovsky Cc: David Vrabel Cc: linux-pci@vger.kernel.org Signed-off-by: Konrad Rzeszutek Wilk Reviewed-by: Boris Ostrovsky --- diff --git a/drivers/xen/xen-pciback/pciback_ops.c b/drivers/xen/xen-pciback/pciback_ops.c index 64eb0cd8b8af..929dd46bb40c 100644 --- a/drivers/xen/xen-pciback/pciback_ops.c +++ b/drivers/xen/xen-pciback/pciback_ops.c @@ -213,8 +213,7 @@ int xen_pcibk_enable_msix(struct xen_pcibk_device *pdev, entries[i].vector = op->msix_entries[i].vector; } - result = pci_enable_msix(dev, entries, op->value); - + result = pci_enable_msix_exact(dev, entries, op->value); if (result == 0) { for (i = 0; i < op->value; i++) { op->msix_entries[i].entry = entries[i].entry;