scsi: qla2xxx: Cleaned up queue configuration code.
authorMichael Hernandez <michael.hernandez@cavium.com>
Wed, 15 Feb 2017 23:37:19 +0000 (15:37 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 23 Feb 2017 00:00:17 +0000 (19:00 -0500)
commitf54f2cb540b53d55a81d620e816810d59be5cb1b
tree4ae3341d0f8456c8cf44d96e1133cae9b507e54e
parent75d943f3e4222fdd4f907b71bd9d1730412e7ce9
scsi: qla2xxx: Cleaned up queue configuration code.

This patch cleaned up queue configuration code, such that once
initialized, we should not touch msix_count value.  This will prevent
incorrect numbers of MSI-X vectors requested while performing target
mode configuration.

[mkp: fixed Fixes: hash]

Cc: <stable@vger.kernel.org>
Fixes: d74595278f4a ("scsi: qla2xxx: Add multiple queue pair functionality.")
Signed-off-by: Michael Hernandez <michael.hernandez@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_os.c