All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND 6/7] megaraid_sas : Corrected return of wait_event from abort frame path
@ 2014-11-17  9:54 Sumit.Saxena
  2014-11-21 13:52 ` Tomas Henzl
  0 siblings, 1 reply; 2+ messages in thread
From: Sumit.Saxena @ 2014-11-17  9:54 UTC (permalink / raw)
  To: linux-scsi; +Cc: stable, martin.petersen, hch, jbottomley, kashyap.desai

Corrected wait_event() call which was waiting for wrong completion status(0xFF).

Cc: <stable@vger.kernel.org>

Signed-off-by: Sumit Saxena <sumit.saxena@avagotech.com>
Signed-off-by: Kashyap Desai <kashyap.desai@avagotech.com>
---
 drivers/scsi/megaraid/megaraid_sas_base.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
index 8262067..f11c5f3 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);
 
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-21 13:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-17  9:54 [PATCH RESEND 6/7] megaraid_sas : Corrected return of wait_event from abort frame path Sumit.Saxena
2014-11-21 13:52 ` Tomas Henzl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.