[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1428569224-23820-41-git-send-email-lizf@kernel.org>
Date: Thu, 9 Apr 2015 16:44:49 +0800
From: lizf@...nel.org
To: stable@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
"Sumit.Saxena@...gotech.com" <Sumit.Saxena@...gotech.com>,
Sumit Saxena <sumit.saxena@...gotech.com>,
Kashyap Desai <kashyap.desai@...gotech.com>,
Christoph Hellwig <hch@....de>, Zefan Li <lizefan@...wei.com>
Subject: [PATCH 3.4 041/176] megaraid_sas: corrected return of wait_event from abort frame path
From: "Sumit.Saxena@...gotech.com" <Sumit.Saxena@...gotech.com>
3.4.107-rc1 review patch. If anyone has any objections, please let me know.
------------------
commit 170c238701ec38b1829321b17c70671c101bac55 upstream.
Corrected wait_event() call which was waiting for wrong completion
status (0xFF).
Signed-off-by: Sumit Saxena <sumit.saxena@...gotech.com>
Signed-off-by: Kashyap Desai <kashyap.desai@...gotech.com>
Reviewed-by: Tomas Henzl <thenzl@...hat.com>
Signed-off-by: Christoph Hellwig <hch@....de>
Signed-off-by: Zefan Li <lizefan@...wei.com>
---
drivers/scsi/megaraid/megaraid_sas_base.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
index 6188700..bacd344 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -919,7 +919,7 @@ megasas_issue_blocked_abort_cmd(struct megasas_instance *instance,
abort_fr->abort_mfi_phys_addr_hi = 0;
cmd->sync_cmd = 1;
- cmd->cmd_status = 0xFF;
+ cmd->cmd_status = ENODATA;
instance->instancet->issue_dcmd(instance, cmd);
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists