[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YdNBPITFRX+Yolba@unreal>
Date: Mon, 3 Jan 2022 20:32:28 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org, Doug Ledford <dledford@...hat.com>,
Jason Gunthorpe <jgg@...pe.ca>,
Christian Benvenuti <benve@...co.com>,
Nelson Escobar <neescoba@...co.com>,
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>
> ---
> drivers/infiniband/core/sysfs.c | 3 ++-
> drivers/infiniband/hw/usnic/usnic_ib_sysfs.c | 3 ++-
> 2 files changed, 4 insertions(+), 2 deletions(-)
>
Thanks,
Reviewed-by: Leon Romanovsky <leonro@...dia.com>
Powered by blists - more mailing lists