scsi: qla2xxx: Fix error code in qla2x00_start_sp()
authorDan Carpenter <dan.carpenter@linaro.org>
Mon, 26 Jun 2023 10:58:47 +0000 (13:58 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 23 Jul 2023 11:49:21 +0000 (13:49 +0200)
commit574d5236a82b45f5981bb40945f70424b0939018
tree0ffcf2133bc2301d0a5f4468467c374b9230fc74
parent49f6ac6f1cde88bab4e530317510d1cf8870e404
scsi: qla2xxx: Fix error code in qla2x00_start_sp()

[ Upstream commit e579b007eff3ff8d29d59d16214cd85fb9e573f7 ]

This should be negative -EAGAIN instead of positive.  The callers treat
non-zero error codes the same so it doesn't really impact runtime beyond
some trivial differences to debug output.

Fixes: 80676d054e5a ("scsi: qla2xxx: Fix session cleanup hang")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/49866d28-4cfe-47b0-842b-78f110e61aab@moroto.mountain
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/qla2xxx/qla_iocb.c