diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-17 00:01:10 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-04-17 00:01:10 -0400 |
commit | 3371836383d63b627b228875f5ac63023cbf11d2 (patch) | |
tree | b997894d9774bdc07f7df76ceca48e6a848760c8 /drivers/infiniband/hw/cxgb3/iwch_ev.c | |
parent | e8e91f6b4dc1179a70b0d21241b769c0ebfaa129 (diff) |
IB: Replace remaining __FUNCTION__ occurrences with __func__
__FUNCTION__ is gcc-specific, use __func__ instead.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb3/iwch_ev.c')
-rw-r--r-- | drivers/infiniband/hw/cxgb3/iwch_ev.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/infiniband/hw/cxgb3/iwch_ev.c b/drivers/infiniband/hw/cxgb3/iwch_ev.c index b40676662a8..7b67a677172 100644 --- a/drivers/infiniband/hw/cxgb3/iwch_ev.c +++ b/drivers/infiniband/hw/cxgb3/iwch_ev.c | |||
@@ -52,7 +52,7 @@ static void post_qp_event(struct iwch_dev *rnicp, struct iwch_cq *chp, | |||
52 | 52 | ||
53 | if (!qhp) { | 53 | if (!qhp) { |
54 | printk(KERN_ERR "%s unaffiliated error 0x%x qpid 0x%x\n", | 54 | printk(KERN_ERR "%s unaffiliated error 0x%x qpid 0x%x\n", |
55 | __FUNCTION__, CQE_STATUS(rsp_msg->cqe), | 55 | __func__, CQE_STATUS(rsp_msg->cqe), |
56 | CQE_QPID(rsp_msg->cqe)); | 56 | CQE_QPID(rsp_msg->cqe)); |
57 | spin_unlock(&rnicp->lock); | 57 | spin_unlock(&rnicp->lock); |
58 | return; | 58 | return; |
@@ -61,14 +61,14 @@ static void post_qp_event(struct iwch_dev *rnicp, struct iwch_cq *chp, | |||
61 | if ((qhp->attr.state == IWCH_QP_STATE_ERROR) || | 61 | if ((qhp->attr.state == IWCH_QP_STATE_ERROR) || |
62 | (qhp->attr.state == IWCH_QP_STATE_TERMINATE)) { | 62 | (qhp->attr.state == IWCH_QP_STATE_TERMINATE)) { |
63 | PDBG("%s AE received after RTS - " | 63 | PDBG("%s AE received after RTS - " |
64 | "qp state %d qpid 0x%x status 0x%x\n", __FUNCTION__, | 64 | "qp state %d qpid 0x%x status 0x%x\n", __func__, |
65 | qhp->attr.state, qhp->wq.qpid, CQE_STATUS(rsp_msg->cqe)); | 65 | qhp->attr.state, qhp->wq.qpid, CQE_STATUS(rsp_msg->cqe)); |
66 | spin_unlock(&rnicp->lock); | 66 | spin_unlock(&rnicp->lock); |
67 | return; | 67 | return; |
68 | } | 68 | } |
69 | 69 | ||
70 | printk(KERN_ERR "%s - AE qpid 0x%x opcode %d status 0x%x " | 70 | printk(KERN_ERR "%s - AE qpid 0x%x opcode %d status 0x%x " |
71 | "type %d wrid.hi 0x%x wrid.lo 0x%x \n", __FUNCTION__, | 71 | "type %d wrid.hi 0x%x wrid.lo 0x%x \n", __func__, |
72 | CQE_QPID(rsp_msg->cqe), CQE_OPCODE(rsp_msg->cqe), | 72 | CQE_QPID(rsp_msg->cqe), CQE_OPCODE(rsp_msg->cqe), |
73 | CQE_STATUS(rsp_msg->cqe), CQE_TYPE(rsp_msg->cqe), | 73 | CQE_STATUS(rsp_msg->cqe), CQE_TYPE(rsp_msg->cqe), |
74 | CQE_WRID_HI(rsp_msg->cqe), CQE_WRID_LOW(rsp_msg->cqe)); | 74 | CQE_WRID_HI(rsp_msg->cqe), CQE_WRID_LOW(rsp_msg->cqe)); |
@@ -132,10 +132,10 @@ void iwch_ev_dispatch(struct cxio_rdev *rdev_p, struct sk_buff *skb) | |||
132 | (CQE_STATUS(rsp_msg->cqe) == 0)) { | 132 | (CQE_STATUS(rsp_msg->cqe) == 0)) { |
133 | if (SQ_TYPE(rsp_msg->cqe)) { | 133 | if (SQ_TYPE(rsp_msg->cqe)) { |
134 | PDBG("%s QPID 0x%x ep %p disconnecting\n", | 134 | PDBG("%s QPID 0x%x ep %p disconnecting\n", |
135 | __FUNCTION__, qhp->wq.qpid, qhp->ep); | 135 | __func__, qhp->wq.qpid, qhp->ep); |
136 | iwch_ep_disconnect(qhp->ep, 0, GFP_ATOMIC); | 136 | iwch_ep_disconnect(qhp->ep, 0, GFP_ATOMIC); |
137 | } else { | 137 | } else { |
138 | PDBG("%s post REQ_ERR AE QPID 0x%x\n", __FUNCTION__, | 138 | PDBG("%s post REQ_ERR AE QPID 0x%x\n", __func__, |
139 | qhp->wq.qpid); | 139 | qhp->wq.qpid); |
140 | post_qp_event(rnicp, chp, rsp_msg, | 140 | post_qp_event(rnicp, chp, rsp_msg, |
141 | IB_EVENT_QP_REQ_ERR, 0); | 141 | IB_EVENT_QP_REQ_ERR, 0); |
@@ -180,7 +180,7 @@ void iwch_ev_dispatch(struct cxio_rdev *rdev_p, struct sk_buff *skb) | |||
180 | case TPT_ERR_INVALIDATE_SHARED_MR: | 180 | case TPT_ERR_INVALIDATE_SHARED_MR: |
181 | case TPT_ERR_INVALIDATE_MR_WITH_MW_BOUND: | 181 | case TPT_ERR_INVALIDATE_MR_WITH_MW_BOUND: |
182 | printk(KERN_ERR "%s - CQE Err qpid 0x%x opcode %d status 0x%x " | 182 | printk(KERN_ERR "%s - CQE Err qpid 0x%x opcode %d status 0x%x " |
183 | "type %d wrid.hi 0x%x wrid.lo 0x%x \n", __FUNCTION__, | 183 | "type %d wrid.hi 0x%x wrid.lo 0x%x \n", __func__, |
184 | CQE_QPID(rsp_msg->cqe), CQE_OPCODE(rsp_msg->cqe), | 184 | CQE_QPID(rsp_msg->cqe), CQE_OPCODE(rsp_msg->cqe), |
185 | CQE_STATUS(rsp_msg->cqe), CQE_TYPE(rsp_msg->cqe), | 185 | CQE_STATUS(rsp_msg->cqe), CQE_TYPE(rsp_msg->cqe), |
186 | CQE_WRID_HI(rsp_msg->cqe), CQE_WRID_LOW(rsp_msg->cqe)); | 186 | CQE_WRID_HI(rsp_msg->cqe), CQE_WRID_LOW(rsp_msg->cqe)); |