aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_qp.c
diff options
context:
space:
mode:
authorBryan O'Sullivan <bryan.osullivan@qlogic.com>2007-03-15 17:44:52 -0400
committerRoland Dreier <rolandd@cisco.com>2007-04-18 23:20:55 -0400
commit39c0d0b919ae5080163bd2d41c0271cda250d382 (patch)
tree6f3cb50a0266a5f27242429e3241243b7d32de60 /drivers/infiniband/hw/ipath/ipath_qp.c
parent3859e39d75b72f35f7d38c618fbbacb39a440c22 (diff)
IB/ipath: Fix up some debug messages
ipath_dbg doesn't need the same prefixes that printk does. Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_qp.c')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_qp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_qp.c b/drivers/infiniband/hw/ipath/ipath_qp.c
index c122fea9145b..f119f001781f 100644
--- a/drivers/infiniband/hw/ipath/ipath_qp.c
+++ b/drivers/infiniband/hw/ipath/ipath_qp.c
@@ -274,7 +274,7 @@ void ipath_free_all_qps(struct ipath_qp_table *qpt)
274 free_qpn(qpt, qp->ibqp.qp_num); 274 free_qpn(qpt, qp->ibqp.qp_num);
275 if (!atomic_dec_and_test(&qp->refcount) || 275 if (!atomic_dec_and_test(&qp->refcount) ||
276 !ipath_destroy_qp(&qp->ibqp)) 276 !ipath_destroy_qp(&qp->ibqp))
277 ipath_dbg(KERN_INFO "QP memory leak!\n"); 277 ipath_dbg("QP memory leak!\n");
278 qp = nqp; 278 qp = nqp;
279 } 279 }
280 } 280 }
@@ -369,7 +369,7 @@ void ipath_error_qp(struct ipath_qp *qp, enum ib_wc_status err)
369 struct ipath_ibdev *dev = to_idev(qp->ibqp.device); 369 struct ipath_ibdev *dev = to_idev(qp->ibqp.device);
370 struct ib_wc wc; 370 struct ib_wc wc;
371 371
372 ipath_dbg(KERN_INFO "QP%d/%d in error state\n", 372 ipath_dbg("QP%d/%d in error state\n",
373 qp->ibqp.qp_num, qp->remote_qpn); 373 qp->ibqp.qp_num, qp->remote_qpn);
374 374
375 spin_lock(&dev->pending_lock); 375 spin_lock(&dev->pending_lock);
@@ -980,7 +980,7 @@ void ipath_sqerror_qp(struct ipath_qp *qp, struct ib_wc *wc)
980 struct ipath_ibdev *dev = to_idev(qp->ibqp.device); 980 struct ipath_ibdev *dev = to_idev(qp->ibqp.device);
981 struct ipath_swqe *wqe = get_swqe_ptr(qp, qp->s_last); 981 struct ipath_swqe *wqe = get_swqe_ptr(qp, qp->s_last);
982 982
983 ipath_dbg(KERN_INFO "Send queue error on QP%d/%d: err: %d\n", 983 ipath_dbg("Send queue error on QP%d/%d: err: %d\n",
984 qp->ibqp.qp_num, qp->remote_qpn, wc->status); 984 qp->ibqp.qp_num, qp->remote_qpn, wc->status);
985 985
986 spin_lock(&dev->pending_lock); 986 spin_lock(&dev->pending_lock);