From: Jason Gunthorpe <jgg@nvidia.com>
To: Alok Tiwari <alok.a.tiwari@oracle.com>
Cc: selvin.xavier@broadcom.com, kalesh-anakkur.purayil@broadcom.com,
leon@kernel.org, linux-rdma@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 rdma-next] RDMA/bnxt_re: improve clarity in ALLOC_PAGE handler
Date: Wed, 24 Sep 2025 10:56:52 -0300 [thread overview]
Message-ID: <20250924135652.GC2674496@nvidia.com> (raw)
In-Reply-To: <20250924110130.340195-1-alok.a.tiwari@oracle.com>
On Wed, Sep 24, 2025 at 04:01:27AM -0700, Alok Tiwari wrote:
> Update uverbs_copy_to call to use sizeof(dpi) instead of sizeof(length)
> when copying the device page index (DPI) back to user space. Both dpi
> and length are declared as u32, so this change has no functional impact
> but makes the code clearer.
>
> Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
> Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
> ---
> v1 -> v2
> added Reviewed-by: Kalesh AP
> ---
> drivers/infiniband/hw/bnxt_re/ib_verbs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to for-next, thanks
Jason
prev parent reply other threads:[~2025-09-24 13:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-24 11:01 [PATCH v2 rdma-next] RDMA/bnxt_re: improve clarity in ALLOC_PAGE handler Alok Tiwari
2025-09-24 13:56 ` Jason Gunthorpe [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=20250924135652.GC2674496@nvidia.com \
--to=jgg@nvidia.com \
--cc=alok.a.tiwari@oracle.com \
--cc=kalesh-anakkur.purayil@broadcom.com \
--cc=leon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=selvin.xavier@broadcom.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 NNTP newsgroup(s).