[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YxmiDi6XiCUYUEEt@unreal>
Date: Thu, 8 Sep 2022 11:04:30 +0300
From: Leon Romanovsky <leon@...nel.org>
To: Li Zhijian <lizhijian@...itsu.com>
Cc: zyjzyj2000@...il.com, jgg@...pe.ca, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH for-next 1/2] RDMA/rxe: use %u to print u32 variables
On Wed, Sep 07, 2022 at 02:48:20AM +0000, Li Zhijian wrote:
> struct ib_qp_cap {
> u32 max_send_wr;
> u32 max_recv_wr;
> u32 max_send_sge;
> u32 max_recv_sge;
> u32 max_inline_data;
> ...
>
> To avoid getting a negative value from dmesg:
> [410580.579965] rdma_rxe: invalid send sge = 65535 > 32
> [410580.583818] rdma_rxe: invalid send wr = -1 > 1048576
> [410582.771323] rdma_rxe: invalid recv sge = 65535 > 32
> [410582.775310] rdma_rxe: invalid recv wr = -1 > 1048576
>
> Signed-off-by: Li Zhijian <lizhijian@...itsu.com>
> ---
> drivers/infiniband/sw/rxe/rxe_qp.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
Thanks, applied.
Powered by blists - more mailing lists