Re: [RFC] New kobject/kset/ktype documentation and example code
From: Cornelia Huck
Date: Thu Nov 29 2007 - 04:41:30 EST
On Wed, 28 Nov 2007 22:04:58 -0800,
Greg KH <greg@xxxxxxxxx> 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/