projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f86c542
)
[SCSI] megaraid_sas: Fix fault state handling
author
adam radford
<aradford@gmail.com>
Fri, 25 Feb 2011 04:57:04 +0000
(20:57 -0800)
committer
James Bottomley
<James.Bottomley@suse.de>
Mon, 28 Feb 2011 18:01:41 +0000
(12:01 -0600)
The following patch for megaraid_sas fixes fault state handling in
megasas_transition_to_ready().
Signed-off-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/megaraid/megaraid_sas_base.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/megaraid/megaraid_sas_base.c
b/drivers/scsi/megaraid/megaraid_sas_base.c
index 22ec9f0491812f8b624cd2ff39f8942a2c3ac7f8..c9d82b56c6d797c1acf0b34e977162bfefc1d63c 100644
(file)
--- a/
drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/
drivers/scsi/megaraid/megaraid_sas_base.c
@@
-2613,7
+2613,9
@@
megasas_transition_to_ready(struct megasas_instance* instance)
case MFI_STATE_FAULT:
printk(KERN_DEBUG "megasas: FW in FAULT state!!\n");
- return -ENODEV;
+ max_wait = MEGASAS_RESET_WAIT_TIME;
+ cur_state = MFI_STATE_FAULT;
+ break;
case MFI_STATE_WAIT_HANDSHAKE:
/*