RDMA/siw: Correct wrong debug message
authorGuoqing Jiang <guoqing.jiang@linux.dev>
Mon, 21 Aug 2023 13:32:54 +0000 (21:32 +0800)
committerLeon Romanovsky <leon@kernel.org>
Tue, 22 Aug 2023 14:05:12 +0000 (17:05 +0300)
commitbee024d20451e4ce04ea30099cad09f7f75d288b
treedefb2cf17854f0e0ca60fafa8d1b9f624e977cbb
parentb056327bee09e6b86683d3f709a438ccd6031d72
RDMA/siw: Correct wrong debug message

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>
drivers/infiniband/sw/siw/siw_verbs.c