On Thu, 11 Apr 2024 11:38:51 +0800, Zhengchao Shao wrote: > As described in the ib_map_mr_sg function comment, it returns the number > of sg elements that were mapped to the memory region. However, > hns_roce_map_mr_sg returns the number of pages required for mapping the > DMA area. Fix it. > > Applied, thanks! [1/1] RDMA/hns: fix return value in hns_roce_map_mr_sg https://git.kernel.org/rdma/rdma/c/203b70fda63425 Best regards, -- Leon Romanovsky <leon@xxxxxxxxxx>