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/amso1100/c2_qp.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/amso1100/c2_qp.c')
-rw-r--r-- | drivers/infiniband/hw/amso1100/c2_qp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/amso1100/c2_qp.c b/drivers/infiniband/hw/amso1100/c2_qp.c index 01d07862ea86..9190bd52f51f 100644 --- a/drivers/infiniband/hw/amso1100/c2_qp.c +++ b/drivers/infiniband/hw/amso1100/c2_qp.c | |||
@@ -121,7 +121,7 @@ void c2_set_qp_state(struct c2_qp *qp, int c2_state) | |||
121 | int new_state = to_ib_state(c2_state); | 121 | int new_state = to_ib_state(c2_state); |
122 | 122 | ||
123 | pr_debug("%s: qp[%p] state modify %s --> %s\n", | 123 | pr_debug("%s: qp[%p] state modify %s --> %s\n", |
124 | __FUNCTION__, | 124 | __func__, |
125 | qp, | 125 | qp, |
126 | to_ib_state_str(qp->state), | 126 | to_ib_state_str(qp->state), |
127 | to_ib_state_str(new_state)); | 127 | to_ib_state_str(new_state)); |
@@ -141,7 +141,7 @@ int c2_qp_modify(struct c2_dev *c2dev, struct c2_qp *qp, | |||
141 | int err; | 141 | int err; |
142 | 142 | ||
143 | pr_debug("%s:%d qp=%p, %s --> %s\n", | 143 | pr_debug("%s:%d qp=%p, %s --> %s\n", |
144 | __FUNCTION__, __LINE__, | 144 | __func__, __LINE__, |
145 | qp, | 145 | qp, |
146 | to_ib_state_str(qp->state), | 146 | to_ib_state_str(qp->state), |
147 | to_ib_state_str(attr->qp_state)); | 147 | to_ib_state_str(attr->qp_state)); |
@@ -224,7 +224,7 @@ int c2_qp_modify(struct c2_dev *c2dev, struct c2_qp *qp, | |||
224 | qp->state = next_state; | 224 | qp->state = next_state; |
225 | #ifdef DEBUG | 225 | #ifdef DEBUG |
226 | else | 226 | else |
227 | pr_debug("%s: c2_errno=%d\n", __FUNCTION__, err); | 227 | pr_debug("%s: c2_errno=%d\n", __func__, err); |
228 | #endif | 228 | #endif |
229 | /* | 229 | /* |
230 | * If we're going to error and generating the event here, then | 230 | * If we're going to error and generating the event here, then |
@@ -243,7 +243,7 @@ int c2_qp_modify(struct c2_dev *c2dev, struct c2_qp *qp, | |||
243 | vq_req_free(c2dev, vq_req); | 243 | vq_req_free(c2dev, vq_req); |
244 | 244 | ||
245 | pr_debug("%s:%d qp=%p, cur_state=%s\n", | 245 | pr_debug("%s:%d qp=%p, cur_state=%s\n", |
246 | __FUNCTION__, __LINE__, | 246 | __func__, __LINE__, |
247 | qp, | 247 | qp, |
248 | to_ib_state_str(qp->state)); | 248 | to_ib_state_str(qp->state)); |
249 | return err; | 249 | return err; |