ib_srpt: Revert the previous revision because it did not enable SR-IOV support

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7570 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2018-11-01 04:29:47 +00:00
parent ea51ed6ef4
commit ca290b2f59

View File

@@ -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;
}
}