From a51cd226149704e504aedcf26d02b2002fad3134 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 4 Jan 2018 00:30:22 +0000 Subject: [PATCH] ib_srpt: Refine two log messages git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7318 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index d42b4ba4b..1b575f283 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -707,7 +707,7 @@ static int srpt_refresh_port(struct srpt_port *sport) ret = ib_modify_port(sport->sdev->device, sport->port, 0, &port_modify); if (ret) { - pr_warn("%s-%d: enabling device management failed (%d). Note: this is expected for SR-IOV virtual functions.\n", + pr_warn("%s-%d: enabling device management failed (%d). Note: this is expected if SR-IOV is enabled.\n", sport->sdev->device->name, sport->port, ret); goto register_tgt; } @@ -731,7 +731,7 @@ static int srpt_refresh_port(struct srpt_port *sport) #endif ); if (IS_ERR(sport->mad_agent)) { - pr_err("%s-%d: MAD agent registration failed (%ld). Note: this is expected for SR-IOV virtual functions.\n", + pr_err("%s-%d: MAD agent registration failed (%ld). Note: this is expected if SR-IOV is enabled.\n", sport->sdev->device->name, sport->port, PTR_ERR(sport->mad_agent)); sport->mad_agent = NULL;