Commit 170c2387 authored by Sumit.Saxena@avagotech.com's avatar [email protected] Committed by Christoph Hellwig

megaraid_sas: corrected return of wait_event from abort frame path

Corrected wait_event() call which was waiting for wrong completion
status (0xFF).
Signed-off-by: default avatarSumit Saxena <[email protected]>
Signed-off-by: default avatarKashyap Desai <[email protected]>
Reviewed-by: default avatarTomas Henzl <[email protected]>
Cc: <[email protected]>
Signed-off-by: default avatarChristoph Hellwig <[email protected]>
parent ac340c5f
......@@ -1007,7 +1007,7 @@ megasas_issue_blocked_abort_cmd(struct megasas_instance *instance,
cpu_to_le32(upper_32_bits(cmd_to_abort->frame_phys_addr));
cmd->sync_cmd = 1;
cmd->cmd_status = 0xFF;
cmd->cmd_status = ENODATA;
instance->instancet->issue_dcmd(instance, cmd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment