From: Adam Radford Date: Wed, 9 Jul 2014 22:17:57 +0000 (-0700) Subject: megaraid_sas: Add missing initial call to megasas_get_ld_vf_affiliation(). X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9ea81f8169bef693a0136f3ab1110b00dc7c6f84;p=linux-beck.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 Reviewed-by: Martin K. Petersen Signed-off-by: Christoph Hellwig --- 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: