Messages in this thread | | | Date | Wed, 5 Jan 2022 15:48:44 -0400 | From | Jason Gunthorpe <> | 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@redhat.com> > Cc: Jason Gunthorpe <jgg@ziepe.ca> > Cc: Christian Benvenuti <benve@cisco.com> > Cc: Nelson Escobar <neescoba@cisco.com> > Cc: Leon Romanovsky <leon@kernel.org> > Cc: Wenpeng Liang <liangwenpeng@huawei.com> > Cc: Mark Zhang <markzhang@nvidia.com> > Cc: Weihang Li <liweihang@huawei.com> > Cc: Aharon Landau <aharonl@nvidia.com> > Cc: linux-rdma@vger.kernel.org > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > Reviewed-by: Leon Romanovsky <leonro@nvidia.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
| |