[SCSI] qla2xxx: Fix multiqueue MSI-X registration.
authorChad Dupuis <chad.dupuis@qlogic.com>
Wed, 26 Feb 2014 09:15:14 +0000 (04:15 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 10 Mar 2014 08:33:21 +0000 (12:33 +0400)
commitf324777ea88bab2522602671e46fc0851d7d5e35
treee15957a523336b86d30723682ba38c195521ce79
parent960dfc4eb23a28495276b02604d7458e0e1a1ed8
[SCSI] qla2xxx: Fix multiqueue MSI-X registration.

This fixes requesting of the MSI-X vectors for the base response queue.
The iteration in the for loop in qla24xx_enable_msix() was incorrect.
We should only iterate of the first two MSI-X vectors and not the total
number of MSI-X vectors that have given to the driver for this device
from pci_enable_msix() in this function.

Cc: <stable@vger.kernel.org>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_isr.c