Commit d125deba authored by Martin K. Petersen's avatar Martin K. Petersen
Browse files

Merge patch series "scsi: qla2xxx: Fix incorrect sign of error code"



Qianfeng Rong <rongqianfeng@vivo.com> says:

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.

Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parents fb1f4568 9877c004
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment