diff options
author | Adam Radford <aradford@gmail.com> | 2014-07-10 00:17:57 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-09-16 18:09:53 +0200 |
commit | 9ea81f8169bef693a0136f3ab1110b00dc7c6f84 (patch) | |
tree | 055427772cd6cc1551276297941c898fc371aa01 /drivers/scsi/megaraid | |
parent | megaraid_sas: Fix LD/VF affiliation parsing (diff) | |
download | linux-9ea81f8169bef693a0136f3ab1110b00dc7c6f84.tar.xz linux-9ea81f8169bef693a0136f3ab1110b00dc7c6f84.zip |
megaraid_sas: Add missing initial call to megasas_get_ld_vf_affiliation().
The following patch for megaraid_sas adds a missing initial call to
megasas_get_ld_vf_affiliation() at the end of megasas_probe_one().
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>
Diffstat (limited to 'drivers/scsi/megaraid')
-rw-r--r-- | drivers/scsi/megaraid/megaraid_sas_base.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c index 24e4116d2f4b..3970002ba4e5 100644 --- a/drivers/scsi/megaraid/megaraid_sas_base.c +++ b/drivers/scsi/megaraid/megaraid_sas_base.c @@ -4984,6 +4984,10 @@ retry_irq_register: goto fail_start_aen; } + /* Get current SR-IOV LD/VF affiliation */ + if (instance->requestorId) + megasas_get_ld_vf_affiliation(instance, 1); + return 0; fail_start_aen: |