diff options
Diffstat (limited to 'app-emulation/vmware-modules/files/308-4.12-02-vmci-pci_enable_msix.patch')
-rw-r--r-- | app-emulation/vmware-modules/files/308-4.12-02-vmci-pci_enable_msix.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app-emulation/vmware-modules/files/308-4.12-02-vmci-pci_enable_msix.patch b/app-emulation/vmware-modules/files/308-4.12-02-vmci-pci_enable_msix.patch new file mode 100644 index 0000000..a4ce13a --- /dev/null +++ b/app-emulation/vmware-modules/files/308-4.12-02-vmci-pci_enable_msix.patch @@ -0,0 +1,17 @@ +--- ./vmci-only/linux/driver.c 2017-07-06 12:12:38.860458601 -0600 ++++ ./vmci-only/linux/driver.c.new 2017-07-06 12:21:09.986139888 -0600 +@@ -1726,11 +1726,11 @@ + vmci_dev.msix_entries[i].vector = i; + } + +- result = pci_enable_msix(pdev, vmci_dev.msix_entries, VMCI_MAX_INTRS); ++ result = pci_enable_msix_exact(pdev, vmci_dev.msix_entries, VMCI_MAX_INTRS); + if (!result) { + vmci_dev.exclusive_vectors = TRUE; +- } else if (result > 0) { +- result = pci_enable_msix(pdev, vmci_dev.msix_entries, 1); ++ } else { ++ result = pci_enable_msix_exact(pdev, vmci_dev.msix_entries, 1); + } + return result; + } |