RDMA/rxe: Replace pr_xxx by rxe_dbg_xxx in rxe_verbs.c
authorBob Pearson <rpearsonhpe@gmail.com>
Thu, 3 Nov 2022 17:10:09 +0000 (12:10 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 10 Nov 2022 19:33:05 +0000 (15:33 -0400)
Replace calls to pr_xxx() in rxe_verbs.c with rxe_dbg_xxx().

Link: https://lore.kernel.org/r/20221103171013.20659-12-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_verbs.c

index 510ae47..e6eca21 100644 (file)
@@ -1103,7 +1103,7 @@ int rxe_register_device(struct rxe_dev *rxe, const char *ibdev_name)
 
        err = ib_register_device(dev, ibdev_name, NULL);
        if (err)
-               pr_warn("%s failed with error %d\n", __func__, err);
+               rxe_dbg(rxe, "failed with error %d\n", err);
 
        /*
         * Note that rxe may be invalid at this point if another thread