diff options
author | Adam Radford <aradford@gmail.com> | 2014-07-09 15:17:57 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-09-16 09:09:53 -0700 |
commit | 9ea81f8169bef693a0136f3ab1110b00dc7c6f84 (patch) | |
tree | 055427772cd6cc1551276297941c898fc371aa01 | |
parent | 4cbfea8865825ad9f38beb627b50b308eb2d92be (diff) | |
download | linux-9ea81f8169bef693a0136f3ab1110b00dc7c6f84.tar.bz2 |
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>
-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: |