]> git.baikalelectronics.ru Git - kernel.git/commit
megaraid_sas: Fix LD/VF affiliation parsing
authorAdam Radford <aradford@gmail.com>
Wed, 9 Jul 2014 22:17:56 +0000 (15:17 -0700)
committerChristoph Hellwig <hch@lst.de>
Tue, 16 Sep 2014 16:09:52 +0000 (09:09 -0700)
commitb1158eafa80d79716d47c09069a1b7689706c156
treeb7b81fc6255afa9b2f2f969f8086204e861cce50
parent6c44098a0dbd308d4ec630d4cdd4a848b4212b10
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 <aradford@gmail.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/megaraid/megaraid_sas.h
drivers/scsi/megaraid/megaraid_sas_base.c