qla2x00t-32gbit: Fix an error code in qla_get_tmf()

Negative -EIO was intended instead of positive EIO.  The caller, doesn't
care so this doesn't affect runtime.  It's just a cleanup.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Link: https://patch.msgid.link/an1taxANE_4_vzJT@stanley.mountain
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>

[ commit ff9365a4c9991cca68fd48c7729808f2fdae2036 upstream ]
This commit is contained in:
Dan Carpenter
2026-10-19 17:38:13 +03:00
committed by Gleb Chesnokov
parent 35a98621dd
commit 4c9b7d4f0c
+1 -1
View File
@@ -2302,7 +2302,7 @@ int qla_get_tmf(struct tmf_arg *arg)
if (TMF_NOT_READY(fcport)) {
ql_log(ql_log_warn, vha, 0x802c,
"Unable to acquire TM resource due to disruption.\n");
rc = EIO;
rc = -EIO;
break;
}
if (ha->active_tmf < MAX_ACTIVE_TMF &&