diff options
author | Guoqing Jiang <guoqing.jiang@linux.dev> | 2022-11-17 13:19:41 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2022-11-17 14:47:28 +0300 |
commit | f5708e6699c230f64736107c90b63a53bdc0a613 (patch) | |
tree | 7956068a1703fb4e25f03892ab6470673e06a27d /drivers/infiniband/ulp/rtrs/rtrs-clt-stats.c | |
parent | 102d2f70ec0999a5cde181f1ccbe8a81cba45b10 (diff) | |
download | linux-f5708e6699c230f64736107c90b63a53bdc0a613.tar.xz |
RDMA/rtrs-clt: Correct the checking of ib_map_mr_sg
We should check with count, also the only successful case is that
all sg elements are mapped, so make it explicitly.
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Link: https://lore.kernel.org/r/20221117101945.6317-5-guoqing.jiang@linux.dev
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/ulp/rtrs/rtrs-clt-stats.c')
0 files changed, 0 insertions, 0 deletions