mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
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/20221103171013.20659-16-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
c6aba5ea00
commit
813728043b
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user