Skip to contentSkip to conversation

RDMA/cxgb3: remove BUG_ON() on rearm failure.

PATCH In review Steve Wise 2 participants 2 messages Nov 12, 2009 – Nov 19, 2009 1 message not in the archive InfiniBand

lore
Share & tools
lore

Steve Wise

author
#0 lore raw

PATCH 1/1 RDMA/cxgb3: remove BUG_ON() on rearm failure.

This failure, while indicating fatal problems with the device, shouldn't kill the system.

---

 drivers/infiniband/hw/cxgb3/cxio_hal.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/infiniband/hw/cxgb3/cxio_hal.c +0 -1
index 72ed339..7c05bfa 100644
@@ -109,7 +109,6 @@ int cxio_hal_cq_op(struct cxio_rdev *rdev_p, struct t3_cq *cq,
 		while (!CQ_VLD_ENTRY(rptr, cq->size_log2, cqe)) {
 			udelay(1);
 			if (i++ > 1000000) {
-				BUG_ON(1);
 				printk(KERN_ERR "%s: stalled rnic\n",
 				       rdev_p->dev_name);
 				return -EIO;

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20091112211125.21174.31332.stgit-T4OLL4TyM9aNDNWfRnPdfg@public.gmane.org