From: Sumit.Saxena@avagotech.com Date: Mon, 17 Nov 2014 09:54:23 +0000 (+0530) Subject: megaraid_sas: corrected return of wait_event from abort frame path X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=170c238701ec38b1829321b17c70671c101bac55;p=linux-beck.git 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: Sumit Saxena Signed-off-by: Kashyap Desai Reviewed-by: Tomas Henzl Cc: Signed-off-by: Christoph Hellwig --- diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c index 5fb265bfc5d1..de67cf310462 100644 --- a/drivers/scsi/megaraid/megaraid_sas_base.c +++ b/drivers/scsi/megaraid/megaraid_sas_base.c @@ -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);