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/20221103171013.20659-15-rpearsonhpe@gmail.com Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
This commit is contained in:
parent
fc50597934
commit
c6aba5ea00
1 changed files with 2 additions and 2 deletions
|
@ -187,14 +187,14 @@ static int rxe_newlink(const char *ibdev_name, struct net_device *ndev)
|
||||||
exists = rxe_get_dev_from_net(ndev);
|
exists = rxe_get_dev_from_net(ndev);
|
||||||
if (exists) {
|
if (exists) {
|
||||||
ib_device_put(&exists->ib_dev);
|
ib_device_put(&exists->ib_dev);
|
||||||
pr_err("already configured on %s\n", ndev->name);
|
rxe_dbg(exists, "already configured on %s\n", ndev->name);
|
||||||
err = -EEXIST;
|
err = -EEXIST;
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
err = rxe_net_add(ibdev_name, ndev);
|
err = rxe_net_add(ibdev_name, ndev);
|
||||||
if (err) {
|
if (err) {
|
||||||
pr_err("failed to add %s\n", ndev->name);
|
rxe_dbg(exists, "failed to add %s\n", ndev->name);
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
err:
|
err:
|
||||||
|
|
Loading…
Add table
Reference in a new issue