From c3b1c10abf9614a2b0cec61d682c9bf83951027e Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 3 Jan 2018 23:29:49 +0000 Subject: [PATCH] ib_srpt: Revert r7315 because it did not enable SR-IOV support git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7316 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index 6f03dcb2b..f2b3e2b3e 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -4359,8 +4359,9 @@ static void srpt_add_one(struct ib_device *device) INIT_WORK(&sport->work, srpt_refresh_port_work); #endif if (srpt_refresh_port(sport)) { - pr_err("MAD registration failed for %s-%d. Note: this is expected for SR-IOV virtual functions.\n", + pr_err("MAD registration failed for %s-%d.\n", sdev->device->name, i); + goto err_ring; } }