Skip to content

Commit fc50597

Browse files
Bob Pearsonjgunthorpe
authored andcommitted
RDMA/rxe: Replace pr_xxx by rxe_dbg_xxx in rxe_task.c
Replace calls to pr_xxx() in rxe_task.c with rxe_dbg_xxx(). Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bob Pearson <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
1 parent 25fd735 commit fc50597

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

drivers/infiniband/sw/rxe/rxe_task.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ static void do_task(struct tasklet_struct *t)
2929
int cont;
3030
int ret;
3131
struct rxe_task *task = from_tasklet(task, t, tasklet);
32+
struct rxe_qp *qp = (struct rxe_qp *)task->arg;
3233
unsigned int iterations = RXE_MAX_ITERATIONS;
3334

3435
spin_lock_bh(&task->lock);
@@ -47,7 +48,7 @@ static void do_task(struct tasklet_struct *t)
4748

4849
default:
4950
spin_unlock_bh(&task->lock);
50-
pr_warn("%s failed with bad state %d\n", __func__, task->state);
51+
rxe_dbg_qp(qp, "failed with bad state %d\n", task->state);
5152
return;
5253
}
5354

@@ -81,8 +82,8 @@ static void do_task(struct tasklet_struct *t)
8182
break;
8283

8384
default:
84-
pr_warn("%s failed with bad state %d\n", __func__,
85-
task->state);
85+
rxe_dbg_qp(qp, "failed with bad state %d\n",
86+
task->state);
8687
}
8788
spin_unlock_bh(&task->lock);
8889
} while (cont);

0 commit comments

Comments
 (0)