Commit fc505979 authored by Bob Pearson's avatar Bob Pearson Committed by Jason Gunthorpe

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/20221103171013.20659-14-rpearsonhpe@gmail.comSigned-off-by: default avatarBob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
parent 25fd735a
......@@ -29,6 +29,7 @@ static void do_task(struct tasklet_struct *t)
int cont;
int ret;
struct rxe_task *task = from_tasklet(task, t, tasklet);
struct rxe_qp *qp = (struct rxe_qp *)task->arg;
unsigned int iterations = RXE_MAX_ITERATIONS;
spin_lock_bh(&task->lock);
......@@ -47,7 +48,7 @@ static void do_task(struct tasklet_struct *t)
default:
spin_unlock_bh(&task->lock);
pr_warn("%s failed with bad state %d\n", __func__, task->state);
rxe_dbg_qp(qp, "failed with bad state %d\n", task->state);
return;
}
......@@ -81,7 +82,7 @@ static void do_task(struct tasklet_struct *t)
break;
default:
pr_warn("%s failed with bad state %d\n", __func__,
rxe_dbg_qp(qp, "failed with bad state %d\n",
task->state);
}
spin_unlock_bh(&task->lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment