aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw
diff options
context:
space:
mode:
authorAlexander Schmidt <alexs@linux.vnet.ibm.com>2008-08-12 09:46:13 -0400
committerRoland Dreier <rolandd@cisco.com>2008-08-12 14:34:58 -0400
commit6c02eed9302e7c27ee150d7911b83843c2206148 (patch)
tree370b5f239187e94bfd61fa4c8a2caf5d048e7e4e /drivers/infiniband/hw
parent51ad241af45a0bfc02d1ed72a3ad58b46f8e30df (diff)
IB/ehca: Rename goto label in ehca_poll_cq_one()
Rename the "poll_cq_one_read_cqe" goto label to what it actually does, namely "repoll". Signed-off-by: Alexander Schmidt <alexs@linux.vnet.ibm.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r--drivers/infiniband/hw/ehca/ehca_reqs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_reqs.c b/drivers/infiniband/hw/ehca/ehca_reqs.c
index 898c8b5c38dd..d0a1c674a11b 100644
--- a/drivers/infiniband/hw/ehca/ehca_reqs.c
+++ b/drivers/infiniband/hw/ehca/ehca_reqs.c
@@ -589,7 +589,7 @@ static inline int ehca_poll_cq_one(struct ib_cq *cq, struct ib_wc *wc)
589 struct ehca_qp *my_qp; 589 struct ehca_qp *my_qp;
590 int cqe_count = 0, is_error; 590 int cqe_count = 0, is_error;
591 591
592poll_cq_one_read_cqe: 592repoll:
593 cqe = (struct ehca_cqe *) 593 cqe = (struct ehca_cqe *)
594 ipz_qeit_get_inc_valid(&my_cq->ipz_queue); 594 ipz_qeit_get_inc_valid(&my_cq->ipz_queue);
595 if (!cqe) { 595 if (!cqe) {
@@ -617,7 +617,7 @@ poll_cq_one_read_cqe:
617 ehca_dmp(cqe, 64, "cq_num=%x qp_num=%x", 617 ehca_dmp(cqe, 64, "cq_num=%x qp_num=%x",
618 my_cq->cq_number, cqe->local_qp_number); 618 my_cq->cq_number, cqe->local_qp_number);
619 /* ignore this purged cqe */ 619 /* ignore this purged cqe */
620 goto poll_cq_one_read_cqe; 620 goto repoll;
621 } 621 }
622 spin_lock_irqsave(&qp->spinlock_s, flags); 622 spin_lock_irqsave(&qp->spinlock_s, flags);
623 purgeflag = qp->sqerr_purgeflag; 623 purgeflag = qp->sqerr_purgeflag;
@@ -636,7 +636,7 @@ poll_cq_one_read_cqe:
636 * that caused sqe and turn off purge flag 636 * that caused sqe and turn off purge flag
637 */ 637 */
638 qp->sqerr_purgeflag = 0; 638 qp->sqerr_purgeflag = 0;
639 goto poll_cq_one_read_cqe; 639 goto repoll;
640 } 640 }
641 } 641 }
642 642