OSDN Git Service

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)
commit7c33e477bd883f79cccec418980cb8f7f2d50347
tree4765c7542a67e19510e13c864ce9361880c62d6e
parentbcec04b3cce4c498ef0d416a3a2aaf0369578151
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: 9c40c36e75ff ("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