Files
android_kernel_xiaomi_sm8450/drivers/infiniband/core
Leon Romanovsky 16e51f78a9 RDMA/core: Update write interface to use automatic object lifetime
The automatic object lifetime model allows us to change the write()
interface to have the same logic as the ioctl() path. Update the
create/alloc functions to be in the following format, so the code flow
will be the same:

 * Allocate objects
 * Initialize them
 * Call to the drivers, this is last step that is allowed to fail
 * Finalize object
 * Return response and allow to core code to handle abort/commit
   respectively.

Link: https://lore.kernel.org/r/20200719052223.75245-3-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-07-24 16:22:30 -03:00
..
2015-06-12 14:49:18 -04:00
2020-01-25 15:11:37 -04:00
2020-05-29 16:09:02 -03:00
2020-03-04 14:28:25 -04:00
2020-06-24 16:43:45 -03:00
2020-06-02 20:32:53 -03:00
2018-12-12 07:40:16 -07:00
2016-03-03 10:20:25 -05:00
2018-12-12 07:40:16 -07:00
2020-07-06 14:54:46 -03:00
2020-05-27 16:05:05 -03:00