From: Hannes Reinecke Date: Thu, 16 Jan 2014 10:25:36 +0000 (+0100) Subject: [SCSI] megaraid_sas: check return value for megasas_get_pd_list() X-Git-Tag: v3.15-rc1~136^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58968fc8fbb3869d9ec84d32b88b58b0423d6793;p=pandora-kernel.git [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 Acked-by: Kashyap Desai Signed-off-by: James Bottomley --- Reading git-diff-tree failed