Re: [PATCH rdma-next] IB/core: Simplify rdma cgroup registration

2019-01-18 Thread Jason Gunthorpe
On Thu, Jan 17, 2019 at 08:14:15PM +0200, Leon Romanovsky wrote: > From: Parav Pandit > > RDMA cgroup registration routine always returns success, > so simplify function to be void and run clang formatter > over whole CONFIG_CGROUP_RDMA art of core_priv.h. > > This reduces unwinding error path

Re: [PATCH rdma-next] IB/core: Simplify rdma cgroup registration

2019-01-18 Thread Tejun Heo
On Thu, Jan 17, 2019 at 08:14:15PM +0200, Leon Romanovsky wrote: > From: Parav Pandit > > RDMA cgroup registration routine always returns success, > so simplify function to be void and run clang formatter > over whole CONFIG_CGROUP_RDMA art of core_priv.h. > > This reduces unwinding error path

[PATCH rdma-next] IB/core: Simplify rdma cgroup registration

2019-01-17 Thread Leon Romanovsky
From: Parav Pandit RDMA cgroup registration routine always returns success, so simplify function to be void and run clang formatter over whole CONFIG_CGROUP_RDMA art of core_priv.h. This reduces unwinding error path for regular registration and future net namespace change functionality for rdma