Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Chengguang Xu <cgxu519@mykernel.net>
Cc: zyjzyj2000@gmail.com, jgg@ziepe.ca, linux-rdma@vger.kernel.org
Subject: Re: [PATCH v2 1/2] RDMA/rxe: change variable and function argument to proper type
Date: Wed, 9 Mar 2022 15:34:03 +0200	[thread overview]
Message-ID: <Yiisy/gqP4cwZ8MY@unreal> (raw)
In-Reply-To: <20220307145047.3235675-1-cgxu519@mykernel.net>

On Mon, Mar 07, 2022 at 10:50:46PM +0800, Chengguang Xu wrote:
> The type of wqe length is u32 so in order to avoid overflow
> and shadow casting change variable and relevant function argument to
> proper type.
> 
> Signed-off-by: Chengguang Xu <cgxu519@mykernel.net>
> ---
>  drivers/infiniband/sw/rxe/rxe_req.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 

Thanks,
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>

  parent reply	other threads:[~2022-03-09 13:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-07 14:50 [PATCH v2 1/2] RDMA/rxe: change variable and function argument to proper type Chengguang Xu
2022-03-07 14:50 ` [PATCH v2 2/2] RDMA/rxe: remove useless argument for update_state() Chengguang Xu
2022-03-09 13:34   ` Leon Romanovsky
2022-03-10  2:32   ` Zhu Yanjun
2022-03-09 13:34 ` Leon Romanovsky [this message]
2022-03-14 23:44 ` [PATCH v2 1/2] RDMA/rxe: change variable and function argument to proper type Jason Gunthorpe

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=Yiisy/gqP4cwZ8MY@unreal \
    --to=leon@kernel.org \
    --cc=cgxu519@mykernel.net \
    --cc=jgg@ziepe.ca \
    --cc=linux-rdma@vger.kernel.org \
    --cc=zyjzyj2000@gmail.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