From: Dan Carpenter Date: Fri, 22 May 2020 15:44:03 +0000 Subject: Re: [PATCH] block/rnbd: Fix an IS_ERR() vs NULL check in find_or_create_sess() Message-Id: <20200522154403.GN30374@kadam> List-Id: References: <20200519120347.GD42765@mwanda> <20200522144831.GH17583@ziepe.ca> In-Reply-To: <20200522144831.GH17583@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Jason Gunthorpe Cc: Jinpu Wang , Danil Kipnis , Jens Axboe , Bart Van Assche , linux-block@vger.kernel.org, kernel-janitors@vger.kernel.org On Fri, May 22, 2020 at 11:48:31AM -0300, Jason Gunthorpe wrote: > On Fri, May 22, 2020 at 07:13:08AM +0200, Jinpu Wang wrote: > > On Tue, May 19, 2020 at 2:52 PM Jinpu Wang wrote: > > > > > > On Tue, May 19, 2020 at 2:04 PM Dan Carpenter wrote: > > > > > > > > The alloc_sess() function returns error pointers, it never returns NULL. > > > > > > > > Fixes: f7a7a5c228d4 ("block/rnbd: client: main functionality") > > > > Signed-off-by: Dan Carpenter > > > Thanks Dan, > > > Reviewed-by: Jack Wang > > > > Hi Jason, > > > > Could you also queue this fix for for-next? > > Uhh.. Yes OK, but if it doesn't get cc'd to linux-rdma I won't see it.. > I suspect that we should update MAINTAINERS so that ./scripts/get_maintainer.pl gives the right lists. Proabably all drivers/block/rnbd/ patches are supposed to go through you? regards, dan carpenter