[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210210182150.GB1470084@nvidia.com>
Date: Wed, 10 Feb 2021 14:21:50 -0400
From: Jason Gunthorpe <jgg@...dia.com>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
CC: <mkalderon@...vell.com>, <aelior@...vell.com>,
<dledford@...hat.com>, <linux-rdma@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] DMA/qedr: Use true and false for bool variable
On Wed, Feb 10, 2021 at 05:38:21PM +0800, Jiapeng Chong wrote:
> Fix the following coccicheck warning:
>
> ./drivers/infiniband/hw/qedr/qedr.h:629:9-10: WARNING: return of 0/1 in
> function 'qedr_qp_has_rq' with return type bool.
>
> ./drivers/infiniband/hw/qedr/qedr.h:620:9-10: WARNING: return of 0/1 in
> function 'qedr_qp_has_sq' with return type bool.
>
> Reported-by: Abaci Robot<abaci@...ux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
> Acked-by: Michal KalderonĀ <michal.kalderon@...vell.com>
> ---
> drivers/infiniband/hw/qedr/qedr.h | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Applied to for-next, thanks
Jason
Powered by blists - more mailing lists