[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250924135652.GC2674496@nvidia.com>
Date: Wed, 24 Sep 2025 10:56:52 -0300
From: Jason Gunthorpe <jgg@...dia.com>
To: Alok Tiwari <alok.a.tiwari@...cle.com>
Cc: selvin.xavier@...adcom.com, kalesh-anakkur.purayil@...adcom.com,
leon@...nel.org, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 rdma-next] RDMA/bnxt_re: improve clarity in ALLOC_PAGE
handler
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@...cle.com>
> Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@...adcom.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
Powered by blists - more mailing lists