public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Adam Radford <aradford@gmail.com>
To: linux-scsi@vger.kernel.org, uday.lingala@avagotech.com,
	kashyap.desai@avagotech.com, sumit.saxena@avagotech.com
Cc: Adam Radford <aradford@gmail.com>
Subject: [PATCH 4/5] megaraid_sas: Add missing initial call to megasas_get_ld_vf_affiliation().
Date: Wed,  9 Jul 2014 15:17:57 -0700	[thread overview]
Message-ID: <1404944278-11535-5-git-send-email-aradford@gmail.com> (raw)
In-Reply-To: <1404944278-11535-1-git-send-email-aradford@gmail.com>

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>
---
 drivers/scsi/megaraid/megaraid_sas_base.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
index b4c032c..6db5c12 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -4992,6 +4992,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:
-- 
1.7.11.7


  parent reply	other threads:[~2014-07-09 22:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-09 22:17 [PATCH 0/5] megaraid_sas: Update for scsi for-next Adam Radford
2014-07-09 22:17 ` [PATCH 1/5] megaraid_sas: Fix reset_mutex leak Adam Radford
2014-07-09 22:17 ` [PATCH 2/5] megaraid_sas: Remove unused variables in megasas_instance Adam Radford
2014-07-09 22:17 ` [PATCH 3/5] megaraid_sas: Fix LD/VF affiliation parsing Adam Radford
2014-07-11  9:55   ` Christoph Hellwig
2014-07-09 22:17 ` Adam Radford [this message]
2014-07-11  9:56   ` [PATCH 4/5] megaraid_sas: Add missing initial call to megasas_get_ld_vf_affiliation() Christoph Hellwig
2014-07-09 22:17 ` [PATCH 5/5] megaraid_sas: Version and Changelog update Adam Radford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1404944278-11535-5-git-send-email-aradford@gmail.com \
    --to=aradford@gmail.com \
    --cc=kashyap.desai@avagotech.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=sumit.saxena@avagotech.com \
    --cc=uday.lingala@avagotech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox