Messages in this thread | | | Date | Mon, 4 May 2020 14:22:12 -0300 | From | Jason Gunthorpe <> | Subject | Re: [PATCH v2] RDMA/rxe: check for error |
| |
On Sun, Apr 26, 2020 at 12:35:45AM +0100, Sudip Mukherjee wrote: > The commit 'ff23dfa13457' modified rxe_create_mmap_info() to return > error code and also NULL but missed fixing codes which called > rxe_create_mmap_info(). Modify rxe_create_mmap_info() to only return > errorcode and fix error checking after rxe_create_mmap_info() was > called. > > Fixes: ff23dfa13457 ("IB: Pass only ib_udata in function prototypes") > Cc: stable@vger.kernel.org [5.4+] > Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> > Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> > --- > drivers/infiniband/sw/rxe/rxe_mmap.c | 2 +- > drivers/infiniband/sw/rxe/rxe_queue.c | 6 ++++-- > 2 files changed, 5 insertions(+), 3 deletions(-)
Applied to for-rc, thanks
Jason
| |