]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Check correct variable in qla24xx_async_gffid()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 22 Jun 2022 06:21:55 +0000 (09:21 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 7 Jul 2022 19:23:13 +0000 (15:23 -0400)
commitbf2e4c5d29d675bf3c47a613b3c086c0df5b1528
tree4765c7542a67e19510e13c864ce9361880c62d6e
parentcc382a0cd5a989ac9e257e89a5a6ff63f9fcb73f
scsi: qla2xxx: Check correct variable in qla24xx_async_gffid()

There is a copy and paste bug here.  It should check ".rsp" instead of
".req".  The error message is copy and pasted as well so update that too.

Link: https://lore.kernel.org/r/YrK1A/t3L6HKnswO@kili
Fixes: 3dc520a3e629 ("scsi: qla2xxx: edif: Reduce Initiator-Initiator thrashing")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_gs.c