Linux-RDMA Archive mirror
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: linux-rdma@vger.kernel.org, tangchengchang@huawei.com,
	 huangjunxian6@hisilicon.com,
	Zhengchao Shao <shaozhengchao@huawei.com>
Cc: jgg@ziepe.ca, chenglang@huawei.com, wangxi11@huawei.com,
	 liweihang@huawei.com, weiyongjun1@huawei.com,
	yuehaibing@huawei.com
Subject: Re: [PATCH v2] RDMA/hns: fix return value in hns_roce_map_mr_sg
Date: Tue, 16 Apr 2024 14:59:27 +0300	[thread overview]
Message-ID: <171326876705.752004.8039826272359636944.b4-ty@kernel.org> (raw)
In-Reply-To: <20240411033851.2884771-1-shaozhengchao@huawei.com>


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@kernel.org>


      parent reply	other threads:[~2024-04-16 11:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-11  3:38 [PATCH v2] RDMA/hns: fix return value in hns_roce_map_mr_sg Zhengchao Shao
2024-04-11  5:59 ` Junxian Huang
2024-04-11  6:08 ` Zhu Yanjun
2024-04-11  6:26   ` shaozhengchao
2024-04-11  7:05     ` Zhu Yanjun
2024-04-16 11:59 ` Leon Romanovsky [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=171326876705.752004.8039826272359636944.b4-ty@kernel.org \
    --to=leon@kernel.org \
    --cc=chenglang@huawei.com \
    --cc=huangjunxian6@hisilicon.com \
    --cc=jgg@ziepe.ca \
    --cc=linux-rdma@vger.kernel.org \
    --cc=liweihang@huawei.com \
    --cc=shaozhengchao@huawei.com \
    --cc=tangchengchang@huawei.com \
    --cc=wangxi11@huawei.com \
    --cc=weiyongjun1@huawei.com \
    --cc=yuehaibing@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).