diff options
author | Hannes Reinecke <hare@suse.de> | 2014-01-16 11:25:36 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-03-15 10:19:18 -0700 |
commit | 58968fc8fbb3869d9ec84d32b88b58b0423d6793 (patch) | |
tree | 046e98a1e3a46b2ad9be4fd4db4c6266a63868fc /drivers/scsi/cxgbi | |
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>
Diffstat (limited to 'drivers/scsi/cxgbi')
0 files changed, 0 insertions, 0 deletions