Skip to content

Commit c6aba5e

Browse files
Bob Pearsonjgunthorpe
authored andcommitted
RDMA/rxe: Replace pr_xxx by rxe_dbg_xxx in rxe.c
Replace calls to pr_xxx() in rxe.c with rxe_dbg_xxx(). Calls with a rxe device not yet in scope are left as is. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bob Pearson <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
1 parent fc50597 commit c6aba5e

File tree

1 file changed

+2
-2
lines changed
  • drivers/infiniband/sw/rxe

1 file changed

+2
-2
lines changed

drivers/infiniband/sw/rxe/rxe.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,14 +187,14 @@ static int rxe_newlink(const char *ibdev_name, struct net_device *ndev)
187187
exists = rxe_get_dev_from_net(ndev);
188188
if (exists) {
189189
ib_device_put(&exists->ib_dev);
190-
pr_err("already configured on %s\n", ndev->name);
190+
rxe_dbg(exists, "already configured on %s\n", ndev->name);
191191
err = -EEXIST;
192192
goto err;
193193
}
194194

195195
err = rxe_net_add(ibdev_name, ndev);
196196
if (err) {
197-
pr_err("failed to add %s\n", ndev->name);
197+
rxe_dbg(exists, "failed to add %s\n", ndev->name);
198198
goto err;
199199
}
200200
err:

0 commit comments

Comments
 (0)