]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/infiniband/hw/cxgb3/iwch_ev.c
cxgb3: Convert PDBG to pr_debug
[mirror_ubuntu-bionic-kernel.git] / drivers / infiniband / hw / cxgb3 / iwch_ev.c
index e8ecaeff274517720b598aa99b39db751fbb555d..4a0c82a8fb60bbfa10b118614f4096d0327d7bc2 100644 (file)
@@ -61,9 +61,10 @@ static void post_qp_event(struct iwch_dev *rnicp, struct iwch_cq *chp,
 
        if ((qhp->attr.state == IWCH_QP_STATE_ERROR) ||
            (qhp->attr.state == IWCH_QP_STATE_TERMINATE)) {
-               PDBG("%s AE received after RTS - "
-                    "qp state %d qpid 0x%x status 0x%x\n", __func__,
-                    qhp->attr.state, qhp->wq.qpid, CQE_STATUS(rsp_msg->cqe));
+               pr_debug("%s AE received after RTS - qp state %d qpid 0x%x status 0x%x\n",
+                        __func__,
+                        qhp->attr.state, qhp->wq.qpid,
+                        CQE_STATUS(rsp_msg->cqe));
                spin_unlock(&rnicp->lock);
                return;
        }
@@ -136,12 +137,12 @@ void iwch_ev_dispatch(struct cxio_rdev *rdev_p, struct sk_buff *skb)
        if ((CQE_OPCODE(rsp_msg->cqe) == T3_TERMINATE) &&
            (CQE_STATUS(rsp_msg->cqe) == 0)) {
                if (SQ_TYPE(rsp_msg->cqe)) {
-                       PDBG("%s QPID 0x%x ep %p disconnecting\n",
-                            __func__, qhp->wq.qpid, qhp->ep);
+                       pr_debug("%s QPID 0x%x ep %p disconnecting\n",
+                                __func__, qhp->wq.qpid, qhp->ep);
                        iwch_ep_disconnect(qhp->ep, 0, GFP_ATOMIC);
                } else {
-                       PDBG("%s post REQ_ERR AE QPID 0x%x\n", __func__,
-                            qhp->wq.qpid);
+                       pr_debug("%s post REQ_ERR AE QPID 0x%x\n", __func__,
+                                qhp->wq.qpid);
                        post_qp_event(rnicp, chp, rsp_msg,
                                      IB_EVENT_QP_REQ_ERR, 0);
                        iwch_ep_disconnect(qhp->ep, 0, GFP_ATOMIC);