RDMA/rxe: Change variable and function argument to proper type
authorChengguang Xu <cgxu519@mykernel.net>
Mon, 7 Mar 2022 14:50:46 +0000 (22:50 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 14 Mar 2022 23:36:01 +0000 (20:36 -0300)
commit7e8e611d6a0ff228577b1167335ffefb0f44d5d8
treea1e2647cdb056617b269d68470b60d9f6a4ac2ff
parent6f6dbb819dfc1a35bcb8b709b5c83a3ea8beff75
RDMA/rxe: Change variable and function argument to proper type

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.

Link: https://lore.kernel.org/r/20220307145047.3235675-1-cgxu519@mykernel.net
Signed-off-by: Chengguang Xu <cgxu519@mykernel.net>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_req.c