lkml.org 
[lkml]   [2019]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH rdma-next] IB/core: Simplify rdma cgroup registration
On Thu, Jan 17, 2019 at 08:14:15PM +0200, Leon Romanovsky wrote:
> From: Parav Pandit <parav@mellanox.com>
>
> 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 device.
>
> Signed-off-by: Parav Pandit <parav@mellanox.com>
> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
> Acked-by: Tejun Heo <tj@kernel.org>
> ---
> drivers/infiniband/core/cgroup.c | 5 ++---
> drivers/infiniband/core/core_priv.h | 17 +++++++++++------
> drivers/infiniband/core/device.c | 8 +-------
> include/linux/cgroup_rdma.h | 2 +-
> kernel/cgroup/rdma.c | 5 +----
> 5 files changed, 16 insertions(+), 21 deletions(-)

Applied to for-next

Thanks,
Jason

\
 
 \ /
  Last update: 2019-01-18 21:45    [W:0.043 / U:8.008 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site