Skip to contentSkip to conversation

bnx2fc: Return failure from bnx2fc_eh_abort() since io_req is already in abts processing

PATCH Applied Javed Hasan 2 participants 2 messages May 19, 2021 – May 22, 2021

Subsystems (2)
lore
Share & tools
lore

Javed Hasan

author maintainer
#0 lore raw

PATCH 1/1 bnx2fc: Return failure from bnx2fc_eh_abort() since io_req is already in abts processing

-Return failure as abts is already in processing.

---
 drivers/scsi/bnx2fc/bnx2fc_io.c | 1 +
 1 file changed, 1 insertion(+)
drivers/scsi/bnx2fc/bnx2fc_io.c +1 -0
index 1a0dc18d6915..ed300a279a38 100644
@@ -1220,6 +1220,7 @@ int bnx2fc_eh_abort(struct scsi_cmnd *sc_cmd)
 		   was a result from the ABTS request rather than the CLEANUP
 		   request */
 		set_bit(BNX2FC_FLAG_IO_CLEANUP,	&io_req->req_flags);
+		rc = FAILED;
 		goto done;
 	}
 
Signature · 1 line
2.18.2
#1 lore raw
Quoted 1 line · Javed Hasan

-Return failure as abts is already in processing.

Applied to 5.13/scsi-fixes, thanks!

[1/1] bnx2fc: Return failure from bnx2fc_eh_abort() since io_req is already in abts processing

      https://git.kernel.org/mkp/scsi/c/122c81c563b0
Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering