]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/siw: Correct wrong debug message
authorGuoqing Jiang <guoqing.jiang@linux.dev>
Mon, 21 Aug 2023 13:32:54 +0000 (21:32 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:42:57 +0000 (09:42 +0200)
commit9d9a40530383a822e5cd9a01c27b55b467d11340
tree0cbc7419ab01955c6ac17e68072bbb1d921430dd
parentbbd1b1b5082c9a09552477b1079ced26c610ae38
RDMA/siw: Correct wrong debug message

[ Upstream commit bee024d20451e4ce04ea30099cad09f7f75d288b ]

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

Fixes: 303ae1cdfdf7 ("rdma/siw: application interface")
Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Link: https://lore.kernel.org/r/20230821133255.31111-3-guoqing.jiang@linux.dev
Acked-by: Bernard Metzler <bmt@zurich.ibm.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/sw/siw/siw_verbs.c