SCSI: qla2xxx: Fix multiqueue MSI-X registration.
authorChad Dupuis <chad.dupuis@qlogic.com>
Wed, 26 Feb 2014 09:15:14 +0000 (04:15 -0500)
committerJiri Slaby <jslaby@suse.cz>
Mon, 24 Mar 2014 08:45:04 +0000 (09:45 +0100)
commit108f920124944eaf21a780f588a5dc2041192244
tree587c7d1e6de69119a79de3103f3407db99dd0035
parentcdc7b455e46dde6ecf150869698db9905cfbca43
SCSI: qla2xxx: Fix multiqueue MSI-X registration.

commit f324777ea88bab2522602671e46fc0851d7d5e35 upstream.

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.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/scsi/qla2xxx/qla_isr.c