commit | 58968fc8fbb3869d9ec84d32b88b58b0423d6793 | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Thu Jan 16 11:25:36 2014 +0100 |
committer | James Bottomley <JBottomley@Parallels.com> | Sat Mar 15 10:19:18 2014 -0700 |
tree | 046e98a1e3a46b2ad9be4fd4db4c6266a63868fc | |
parent | 2f8bdfa84a0b814ef66701be1e5dbc88433676e1 [diff] |
[SCSI] megaraid_sas: check return value for megasas_get_pd_list() 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>