]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:23:49 +0000 (14:23 +0200)
commitb7c9fc3bb83cde902d698056de8cabd469d094d5
treecdf5185d5ea121912d3b85ec3cbdd946b327953c
parent970716d5037c89c9c1ebb48bbfbc3b5fe85c2700
scsi: qla2xxx: Check correct variable in qla24xx_async_gffid()

[ Upstream commit bf2e4c5d29d675bf3c47a613b3c086c0df5b1528 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/qla2xxx/qla_gs.c