Skip to content

Commit 5de0872

Browse files
Bob Pearsonjgunthorpe
authored andcommitted
RDMA/rxe: Replace pr_xxx by rxe_dbg_xxx in rxe_mmap.c
Replace calls to pr_xxx() in rxe_mmap.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 8137280 commit 5de0872

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/infiniband/sw/rxe/rxe_mmap.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,15 @@ int rxe_mmap(struct ib_ucontext *context, struct vm_area_struct *vma)
7979

8080
/* Don't allow a mmap larger than the object. */
8181
if (size > ip->info.size) {
82-
pr_err("mmap region is larger than the object!\n");
82+
rxe_dbg(rxe, "mmap region is larger than the object!\n");
8383
spin_unlock_bh(&rxe->pending_lock);
8484
ret = -EINVAL;
8585
goto done;
8686
}
8787

8888
goto found_it;
8989
}
90-
pr_warn("unable to find pending mmap info\n");
90+
rxe_dbg(rxe, "unable to find pending mmap info\n");
9191
spin_unlock_bh(&rxe->pending_lock);
9292
ret = -EINVAL;
9393
goto done;
@@ -98,7 +98,7 @@ int rxe_mmap(struct ib_ucontext *context, struct vm_area_struct *vma)
9898

9999
ret = remap_vmalloc_range(vma, ip->obj, 0);
100100
if (ret) {
101-
pr_err("err %d from remap_vmalloc_range\n", ret);
101+
rxe_dbg(rxe, "err %d from remap_vmalloc_range\n", ret);
102102
goto done;
103103
}
104104

0 commit comments

Comments
 (0)