scsi: qla2xxx: Fix the return value
A negative error code should be returned. Link: https://lore.kernel.org/r/20200829075746.19166-1-tian.xianting@h3c.com Acked-by: Nilesh Javali <njavali@marvell.com> Signed-off-by: Xianting Tian <tian.xianting@h3c.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
a08a073265
commit
e5f48ac42c
|
@ -3781,7 +3781,7 @@ int qlt_abort_cmd(struct qla_tgt_cmd *cmd)
|
|||
"multiple abort. %p transport_state %x, t_state %x, "
|
||||
"se_cmd_flags %x\n", cmd, cmd->se_cmd.transport_state,
|
||||
cmd->se_cmd.t_state, cmd->se_cmd.se_cmd_flags);
|
||||
return EIO;
|
||||
return -EIO;
|
||||
}
|
||||
cmd->aborted = 1;
|
||||
cmd->trc_flags |= TRC_ABORT;
|
||||
|
|
Loading…
Reference in New Issue