[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181129233721.GA11172@ziepe.ca>
Date: Thu, 29 Nov 2018 16:37:21 -0700
From: Jason Gunthorpe <jgg@...pe.ca>
To: kbuild test robot <fengguang.wu@...el.com>
Cc: kbuild-all@...org, Leon Romanovsky <leonro@...lanox.com>,
Doug Ledford <dledford@...hat.com>,
Yishai Hadas <yishaih@...lanox.com>,
Mark Bloch <markb@...lanox.com>,
Ariel Levkovich <lariel@...lanox.com>,
linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] RDMA/uverbs: fix ptr_ret.cocci warnings
On Wed, Nov 28, 2018 at 07:21:30AM +0800, kbuild test robot wrote:
> From: kbuild test robot <fengguang.wu@...el.com>
>
> drivers/infiniband/core/uverbs_cmd.c:1095:1-3: WARNING: PTR_ERR_OR_ZERO can be used
>
>
> Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
>
> Generated by: scripts/coccinelle/api/ptr_ret.cocci
>
> Fixes: 7106a9769715 ("RDMA/uverbs: Make write() handlers return 0 on success")
> Signed-off-by: kbuild test robot <fengguang.wu@...el.com>
> ---
applied to for-next, thanks
Jason
Powered by blists - more mailing lists