Commit 9ea81f81 authored by Adam Radford's avatar Adam Radford Committed by Christoph Hellwig

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: default avatarAdam Radford <aradford@gmail.com>
Reviewed-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 4cbfea88
...@@ -4984,6 +4984,10 @@ static int megasas_probe_one(struct pci_dev *pdev, ...@@ -4984,6 +4984,10 @@ static int megasas_probe_one(struct pci_dev *pdev,
goto fail_start_aen; goto fail_start_aen;
} }
/* Get current SR-IOV LD/VF affiliation */
if (instance->requestorId)
megasas_get_ld_vf_affiliation(instance, 1);
return 0; return 0;
fail_start_aen: fail_start_aen:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment