Linux SCSI subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/3] scsi: qla2xxx: Fix incorrect sign of error code
@ 2025-09-05  7:54 Qianfeng Rong
  2025-09-05  7:54 ` [PATCH 1/3] scsi: qla2xxx: edif: " Qianfeng Rong
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Qianfeng Rong @ 2025-09-05  7:54 UTC (permalink / raw)
  To: Nilesh Javali,
	maintainer:QLOGIC QLA2XXX FC-SCSI DRIVER,blamed_fixes:1/1=100%,
	James E.J. Bottomley, Martin K. Petersen, Quinn Tran,
	himanshu.madhani, Manish Rangankar,
	open list:QLOGIC QLA2XXX FC-SCSI DRIVER, open list
  Cc: Qianfeng Rong

qla2x00_start_sp() returns only negative error codes or QLA_SUCCESS.
Therefore, comparing its return value with positive error codes 
(e.g., if (_rval == EAGAIN)) causes logical errors.

Qianfeng Rong (3):
  scsi: qla2xxx: edif: Fix incorrect sign of error code
  scsi: qla2xxx: Fix incorrect sign of error code in
    START_SP_W_RETRIES()
  scsi: qla2xxx: Fix incorrect sign of error code in
    qla_nvme_xmt_ls_rsp()

 drivers/scsi/qla2xxx/qla_edif.c | 4 ++--
 drivers/scsi/qla2xxx/qla_init.c | 4 ++--
 drivers/scsi/qla2xxx/qla_nvme.c | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-09-17  2:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-05  7:54 [PATCH 0/3] scsi: qla2xxx: Fix incorrect sign of error code Qianfeng Rong
2025-09-05  7:54 ` [PATCH 1/3] scsi: qla2xxx: edif: " Qianfeng Rong
2025-09-05  7:54 ` [PATCH 2/3] scsi: qla2xxx: Fix incorrect sign of error code in START_SP_W_RETRIES() Qianfeng Rong
2025-09-05  7:54 ` [PATCH 3/3] scsi: qla2xxx: Fix incorrect sign of error code in qla_nvme_xmt_ls_rsp() Qianfeng Rong
2025-09-17  2:06 ` [PATCH 0/3] scsi: qla2xxx: Fix incorrect sign of error code Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox