projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdc5a97
)
[SCSI] megaraid_sas_fusion: Return correct error value in megasas_get_ld_map_info()
author
Hannes Reinecke
<hare@suse.de>
Thu, 16 Jan 2014 10:25:35 +0000
(11:25 +0100)
committer
James Bottomley
<JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:19:17 +0000
(10:19 -0700)
When no HBA is found we should be returning '-ENXIO' to be consistent
with the other return values.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Acked-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/megaraid/megaraid_sas_fusion.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/megaraid/megaraid_sas_fusion.c
b/drivers/scsi/megaraid/megaraid_sas_fusion.c
index
9a98bfc
..
357c6c6
100644
(file)
--- a/
drivers/scsi/megaraid/megaraid_sas_fusion.c
+++ b/
drivers/scsi/megaraid/megaraid_sas_fusion.c
@@
-726,7
+726,7
@@
megasas_get_ld_map_info(struct megasas_instance *instance)
if (!fusion) {
megasas_return_cmd(instance, cmd);
- return
1
;
+ return
-ENXIO
;
}
dcmd = &cmd->frame->dcmd;