svcrdma: Use pr_err to report Receive errors
authorChuck Lever <chuck.lever@oracle.com>
Tue, 20 Mar 2018 21:05:09 +0000 (17:05 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 20 Mar 2018 21:32:12 +0000 (17:32 -0400)
Clean up: Other completion handlers use pr_err, not pr_warn.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xprtrdma/svc_rdma_transport.c

index 9ad12a2..135ae17 100644 (file)
@@ -330,9 +330,9 @@ static void svc_rdma_wc_receive(struct ib_cq *cq, struct ib_wc *wc)
 
 flushed:
        if (wc->status != IB_WC_WR_FLUSH_ERR)
-               pr_warn("svcrdma: receive: %s (%u/0x%x)\n",
-                       ib_wc_status_msg(wc->status),
-                       wc->status, wc->vendor_err);
+               pr_err("svcrdma: Recv: %s (%u/0x%x)\n",
+                      ib_wc_status_msg(wc->status),
+                      wc->status, wc->vendor_err);
        set_bit(XPT_CLOSE, &xprt->sc_xprt.xpt_flags);
        svc_rdma_put_context(ctxt, 1);