Re: [RFC] New kobject/kset/ktype documentation and example code

Cornelia Huck
2007-11-29T09:41:27Z

On Wed, 28 Nov 2007 22:04:58 -0800,
Greg KH <greg@kroah.com> wrote:

> > > The uevent function will be called when the uevent is about to be sent to
> > > userspace to allow more environment variables to be added to the uevent.
> >
> > It may be helpful to mention which uevents are by default created by
> > the kobject core (KOBJ_ADD, KOBJ_DEL, KOBJ_MOVE).
>
> Is this really needed?

If we go forward with Kay's suggestion of removing kobject_register()
and friends, I guess no.

> > > Often, much of the initialization of a kobject is handled by the layer that
> > > manages the containing kset. See the sample/kobject/kset-example.c for how
> > > this is usually handled.
> >
> > Do we also want to mention kobject_rename() and kobject_move(), or are
> > those functions so esoteric that most people don't want to know about
> > them?
>
> They can be found in the kerneldoc api reference if they are needed :)

OK.