diff options
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_driver.c | 3 | ||||
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_keys.c | 2 | ||||
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_qp.c | 6 |
3 files changed, 6 insertions, 5 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_driver.c b/drivers/infiniband/hw/ipath/ipath_driver.c index c2fe5417ff45..53eb4550bcd3 100644 --- a/drivers/infiniband/hw/ipath/ipath_driver.c +++ b/drivers/infiniband/hw/ipath/ipath_driver.c | |||
@@ -1989,7 +1989,8 @@ static int __init infinipath_init(void) | |||
1989 | { | 1989 | { |
1990 | int ret; | 1990 | int ret; |
1991 | 1991 | ||
1992 | ipath_dbg(KERN_INFO DRIVER_LOAD_MSG "%s", ib_ipath_version); | 1992 | if (ipath_debug & __IPATH_DBG) |
1993 | printk(KERN_INFO DRIVER_LOAD_MSG "%s", ib_ipath_version); | ||
1993 | 1994 | ||
1994 | /* | 1995 | /* |
1995 | * These must be called before the driver is registered with | 1996 | * These must be called before the driver is registered with |
diff --git a/drivers/infiniband/hw/ipath/ipath_keys.c b/drivers/infiniband/hw/ipath/ipath_keys.c index 851763d7d2db..c93fa2f7719c 100644 --- a/drivers/infiniband/hw/ipath/ipath_keys.c +++ b/drivers/infiniband/hw/ipath/ipath_keys.c | |||
@@ -61,7 +61,7 @@ int ipath_alloc_lkey(struct ipath_lkey_table *rkt, struct ipath_mregion *mr) | |||
61 | r = (r + 1) & (rkt->max - 1); | 61 | r = (r + 1) & (rkt->max - 1); |
62 | if (r == n) { | 62 | if (r == n) { |
63 | spin_unlock_irqrestore(&rkt->lock, flags); | 63 | spin_unlock_irqrestore(&rkt->lock, flags); |
64 | ipath_dbg(KERN_INFO "LKEY table full\n"); | 64 | ipath_dbg("LKEY table full\n"); |
65 | ret = 0; | 65 | ret = 0; |
66 | goto bail; | 66 | goto bail; |
67 | } | 67 | } |
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); |