Re: [PATCH 0/3] scsi: qla2xxx: Fix incorrect sign of error code

From: Martin K. Petersen

Date: Tue Sep 16 2025 - 22:10:08 EST



Qianfeng,

> 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.

Applied to 6.18/scsi-staging, thanks!

--
Martin K. Petersen