From: Adam Radford Date: Wed, 9 Jul 2014 22:17:56 +0000 (-0700) Subject: megaraid_sas: Fix LD/VF affiliation parsing X-Git-Tag: fixes-for-v3.18-merge-window~25^2^2~169 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cbfea8865825ad9f38beb627b50b308eb2d92be;p=pandora-kernel.git megaraid_sas: Fix LD/VF affiliation parsing The following patch for megaraid_sas fixes the LD/VF affiliation policy parsing code to account for LD targetId's and Hidden LD's (not yet affiliated with any Virtual Functions). This also breaks megasas_get_ld_vf_affiliation() into 2 separate functions: megasas_get_ld_vf_affiliation_111() and megasas_get_ld_Vf_affiliation_12() to reduce indentation levels. Signed-off-by: Adam Radford Reviewed-by: Martin K. Petersen Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed