diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2016-11-29 10:53:21 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2016-11-29 16:45:44 -0500 |
commit | 2f6922ca334e27155253e290416068ec30d391fa (patch) | |
tree | 433479f456aba53d620f5a3808f5eeb3970fa5a4 /net | |
parent | 6d6bf72de914059b304f7b99530a7856e5c846aa (diff) | |
download | linux-stable-2f6922ca334e27155253e290416068ec30d391fa.tar.gz linux-stable-2f6922ca334e27155253e290416068ec30d391fa.tar.bz2 linux-stable-2f6922ca334e27155253e290416068ec30d391fa.zip |
xprtrdma: Shorten QP access error message
Clean up: The convention for this type of warning message is not to
show the function name or "RPC: ".
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/xprtrdma/verbs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sunrpc/xprtrdma/verbs.c b/net/sunrpc/xprtrdma/verbs.c index 9f66fd862fd9..11d07748f699 100644 --- a/net/sunrpc/xprtrdma/verbs.c +++ b/net/sunrpc/xprtrdma/verbs.c @@ -103,9 +103,9 @@ rpcrdma_qp_async_error_upcall(struct ib_event *event, void *context) { struct rpcrdma_ep *ep = context; - pr_err("RPC: %s: %s on device %s ep %p\n", - __func__, ib_event_msg(event->event), - event->device->name, context); + pr_err("rpcrdma: %s on device %s ep %p\n", + ib_event_msg(event->event), event->device->name, context); + if (ep->rep_connected == 1) { ep->rep_connected = -EIO; rpcrdma_conn_func(ep); |