[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200424183310.GA18285@ziepe.ca>
Date: Fri, 24 Apr 2020 15:33:10 -0300
From: Jason Gunthorpe <jgg@...pe.ca>
To: Sudip Mukherjee <sudipm.mukherjee@...il.com>
Cc: Dennis Dalessandro <dennis.dalessandro@...el.com>,
Mike Marciniszyn <mike.marciniszyn@...el.com>,
Doug Ledford <dledford@...hat.com>,
linux-kernel@...r.kernel.org, linux-rdma@...r.kernel.org
Subject: Re: [PATCH v3] IB/rdmavt: return proper error code
On Fri, Apr 24, 2020 at 06:31:46PM +0100, Sudip Mukherjee wrote:
> The commit 'ff23dfa13457' modified rvt_create_mmap_info() to return
> error code and also NULL but missed fixing codes which called
> rvt_create_mmap_info(). Modify rvt_create_mmap_info() to only return
> errorcode and fix error checking after rvt_create_mmap_info() was
> called.
>
> Fixes: ff23dfa13457 ("IB: Pass only ib_udata in function prototypes")
> Cc: stable@...r.kernel.org [5.4+]
> Tested-by: Mike Marciniszyn <mike.marciniszyn@...el.com>
> Acked-by: Mike Marciniszyn <mike.marciniszyn@...el.com>
> Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@...il.com>
> ---
> drivers/infiniband/sw/rdmavt/cq.c | 4 ++--
> drivers/infiniband/sw/rdmavt/mmap.c | 4 ++--
> drivers/infiniband/sw/rdmavt/qp.c | 4 ++--
> drivers/infiniband/sw/rdmavt/srq.c | 4 ++--
> 4 files changed, 8 insertions(+), 8 deletions(-)
Applied to for-next, thanks
Jason
Powered by blists - more mailing lists