[PATCH V3 10/10] [SCSI] aacraid: Replace pci_enable_msix() with pci_enable_msix_exact()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Rajinikanth Pandurangan <rajinikanth.pandurangan@xxxxxxxx>

Description:
	As pci_enable_msix() deprecated, replaced with pci_enable_msix_exact()

Changes from V2:
 Newly created for V3 based on review comment.

Signed-off-by: Rajinikanth Pandurangan <rajinikanth.pandurangan@xxxxxxxx>
---
 drivers/scsi/aacraid/comminit.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/aacraid/comminit.c b/drivers/scsi/aacraid/comminit.c
index b4b6088..e4ff47e 100644
--- a/drivers/scsi/aacraid/comminit.c
+++ b/drivers/scsi/aacraid/comminit.c
@@ -366,7 +366,7 @@ void aac_define_int_mode(struct aac_dev *dev)
 
 	if (msi_count > 1 &&
 	    pci_find_capability(dev->pdev, PCI_CAP_ID_MSIX)) {
-		i = pci_enable_msix(dev->pdev,
+		i = pci_enable_msix_exact(dev->pdev,
 				    dev->msixentry,
 				    msi_count);
 		 /* Check how many MSIX vectors are allocated */
@@ -374,7 +374,7 @@ void aac_define_int_mode(struct aac_dev *dev)
 			dev->msi_enabled = 1;
 			if (i) {
 				msi_count = i;
-				if (pci_enable_msix(dev->pdev,
+				if (pci_enable_msix_exact(dev->pdev,
 				    dev->msixentry,
 				    msi_count)) {
 					dev->msi_enabled = 0;
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux