[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220105194844.GA2872048@nvidia.com>
Date: Wed, 5 Jan 2022 15:48:44 -0400
From: Jason Gunthorpe <jgg@...dia.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org, Doug Ledford <dledford@...hat.com>,
Christian Benvenuti <benve@...co.com>,
Nelson Escobar <neescoba@...co.com>,
Leon Romanovsky <leon@...nel.org>,
Wenpeng Liang <liangwenpeng@...wei.com>,
Mark Zhang <markzhang@...dia.com>,
Weihang Li <liweihang@...wei.com>,
Aharon Landau <aharonl@...dia.com>, linux-rdma@...r.kernel.org
Subject: Re: [PATCH] RDMA: use default_groups in kobj_type
On Mon, Jan 03, 2022 at 04:22:59PM +0100, Greg Kroah-Hartman wrote:
> There are currently 2 ways to create a set of sysfs files for a
> kobj_type, through the default_attrs field, and the default_groups
> field. Move the IB code to use default_groups field which has been the
> preferred way since aa30f47cf666 ("kobject: Add support for default
> attribute groups to kobj_type") so that we can soon get rid of the
> obsolete default_attrs field.
>
> Cc: Doug Ledford <dledford@...hat.com>
> Cc: Jason Gunthorpe <jgg@...pe.ca>
> Cc: Christian Benvenuti <benve@...co.com>
> Cc: Nelson Escobar <neescoba@...co.com>
> Cc: Leon Romanovsky <leon@...nel.org>
> Cc: Wenpeng Liang <liangwenpeng@...wei.com>
> Cc: Mark Zhang <markzhang@...dia.com>
> Cc: Weihang Li <liweihang@...wei.com>
> Cc: Aharon Landau <aharonl@...dia.com>
> Cc: linux-rdma@...r.kernel.org
> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Reviewed-by: Leon Romanovsky <leonro@...dia.com>
> ---
> drivers/infiniband/core/sysfs.c | 3 ++-
> drivers/infiniband/hw/usnic/usnic_ib_sysfs.c | 3 ++-
> 2 files changed, 4 insertions(+), 2 deletions(-)
Applied to for-next, thanks
Jason
Powered by blists - more mailing lists