mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
4cbfea8865
commit
9ea81f8169
|
@ -4984,6 +4984,10 @@ static int megasas_probe_one(struct pci_dev *pdev,
|
|||
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:
|
||||
|
|
Loading…
Reference in New Issue