Files
android_kernel_xiaomi_sm8450/drivers/infiniband/sw/rdmavt
Sudip Mukherjee 47c370c1a5 IB/rdmavt: Always return ERR_PTR from rvt_create_mmap_info()
The commit below modified rvt_create_mmap_info() to return ERR_PTR's but
didn't update the callers to handle them. Modify rvt_create_mmap_info() to
only return ERR_PTR and fix all error checking after
rvt_create_mmap_info() was called.

Fixes: ff23dfa134 ("IB: Pass only ib_udata in function prototypes")
Link: https://lore.kernel.org/r/20200424173146.10970-1-sudipm.mukherjee@gmail.com
Cc: stable@vger.kernel.org [5.4+]
Tested-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Acked-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2020-04-24 15:31:26 -03:00
..
2019-04-08 13:05:25 -03:00
2016-03-10 20:37:27 -05:00
2019-04-08 13:05:25 -03:00
2019-06-28 22:34:26 -03:00
2019-04-24 11:31:49 -03:00
2019-04-24 11:31:49 -03:00
2016-12-11 15:25:13 -05:00
2019-04-24 11:31:49 -03:00
2016-03-10 20:37:27 -05:00
2020-03-18 19:53:47 -03:00