diff options
author | Adam Radford <aradford@gmail.com> | 2014-07-09 22:17:57 (GMT) |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-09-16 16:09:53 (GMT) |
commit | 9ea81f8169bef693a0136f3ab1110b00dc7c6f84 (patch) | |
tree | 055427772cd6cc1551276297941c898fc371aa01 /drivers/scsi/megaraid | |
parent | 4cbfea8865825ad9f38beb627b50b308eb2d92be (diff) | |
download | linux-9ea81f8169bef693a0136f3ab1110b00dc7c6f84.tar.xz |
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 24e4116..3970002 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: |