]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Use Correct index for Q-Pair array
authorQuinn Tran <qutran@marvell.com>
Fri, 26 Jul 2019 16:07:29 +0000 (09:07 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 30 Jul 2019 20:12:02 +0000 (16:12 -0400)
commit99d0c206d022c636f6d5925efa79020e225c5758
treedb6acf2bdf870d417fb7dae944dca2ec6c142d60
parentdce793c3db84aa160cab1b06189377040efd8a06
scsi: qla2xxx: Use Correct index for Q-Pair array

For target mode, the default number of Q-Pairs allowed to use is 2. If the
number of Q-Pairs allocated is lower than the default Q-Pairs, then lower
value should be the set as default.

[mkp: typo]

Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_target.c