Commit 9dad7928 authored by Guoqing Jiang's avatar Guoqing Jiang Committed by sanglipeng
Browse files

RDMA/siw: Correct wrong debug message

stable inclusion
from stable-v5.10.195
commit bdb3cd9dffdf606922bd7b406922ebbdd3d71c28
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I95JOC

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=bdb3cd9dffdf606922bd7b406922ebbdd3d71c28



--------------------------------

[ Upstream commit bee024d2 ]

We need to print num_sle first then pbl->max_buf per the condition.
Also replace mem->pbl with pbl while at it.

Fixes: 303ae1cd ("rdma/siw: application interface")
Signed-off-by: default avatarGuoqing Jiang <guoqing.jiang@linux.dev>
Link: https://lore.kernel.org/r/20230821133255.31111-3-guoqing.jiang@linux.dev


Acked-by: default avatarBernard Metzler <bmt@zurich.ibm.com>
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 85b5654c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment