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@xxxxxxxxxx> > Cc: Jason Gunthorpe <jgg@xxxxxxxx> > Cc: Christian Benvenuti <benve@xxxxxxxxx> > Cc: Nelson Escobar <neescoba@xxxxxxxxx> > Cc: Leon Romanovsky <leon@xxxxxxxxxx> > Cc: Wenpeng Liang <liangwenpeng@xxxxxxxxxx> > Cc: Mark Zhang <markzhang@xxxxxxxxxx> > Cc: Weihang Li <liweihang@xxxxxxxxxx> > Cc: Aharon Landau <aharonl@xxxxxxxxxx> > Cc: linux-rdma@xxxxxxxxxxxxxxx > Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > --- > 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@xxxxxxxxxx>