]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita5690bd405a95c729c4146544602024336a25f8c
tree4ae3341d0f8456c8cf44d96e1133cae9b507e54e
parentb57f6fc045a8dd5f05c81ccb816c942d88467265
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: e1d8385959c9 ("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