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

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

index 46bb07c..71bc2c1 100644 (file)
@@ -21,7 +21,7 @@ int rxe_icrc_init(struct rxe_dev *rxe)
 
        tfm = crypto_alloc_shash("crc32", 0, 0);
        if (IS_ERR(tfm)) {
-               pr_warn("failed to init crc32 algorithm err:%ld\n",
+               rxe_dbg(rxe, "failed to init crc32 algorithm err: %ld\n",
                               PTR_ERR(tfm));
                return PTR_ERR(tfm);
        }
@@ -51,7 +51,7 @@ static __be32 rxe_crc32(struct rxe_dev *rxe, __be32 crc, void *next, size_t len)
        *(__be32 *)shash_desc_ctx(shash) = crc;
        err = crypto_shash_update(shash, next, len);
        if (unlikely(err)) {
-               pr_warn_ratelimited("failed crc calculation, err: %d\n", err);
+               rxe_dbg(rxe, "failed crc calculation, err: %d\n", err);
                return (__force __be32)crc32_le((__force u32)crc, next, len);
        }