git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f8bdfa
)
[SCSI] megaraid_sas: check return value for megasas_get_pd_list()
author
Hannes Reinecke
<hare@suse.de>
Thu, 16 Jan 2014 10:25:36 +0000
(11:25 +0100)
committer
James Bottomley
<JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:19:18 +0000
(10:19 -0700)
When megasas_get_pd_list() fails we cannot detect any drives,
so we should be checking the return value accordingly.
[jejb: checkpatch fix]
Signed-off-by: Hannes Reinecke <hare@suse.de>
Acked-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
No differences found