Skip to content

Commit 8137280

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/infiniband/sw/rxe/rxe_icrc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ int rxe_icrc_init(struct rxe_dev *rxe)
2121

2222
tfm = crypto_alloc_shash("crc32", 0, 0);
2323
if (IS_ERR(tfm)) {
24-
pr_warn("failed to init crc32 algorithm err:%ld\n",
24+
rxe_dbg(rxe, "failed to init crc32 algorithm err: %ld\n",
2525
PTR_ERR(tfm));
2626
return PTR_ERR(tfm);
2727
}
@@ -51,7 +51,7 @@ static __be32 rxe_crc32(struct rxe_dev *rxe, __be32 crc, void *next, size_t len)
5151
*(__be32 *)shash_desc_ctx(shash) = crc;
5252
err = crypto_shash_update(shash, next, len);
5353
if (unlikely(err)) {
54-
pr_warn_ratelimited("failed crc calculation, err: %d\n", err);
54+
rxe_dbg(rxe, "failed crc calculation, err: %d\n", err);
5555
return (__force __be32)crc32_le((__force u32)crc, next, len);
5656
}
5757

0 commit comments

Comments
 (0)