Re: [PATCH 044/196] kset: add kset_create_and_add function

2008-01-25 Thread Greg KH
On Fri, Jan 25, 2008 at 05:09:41PM +0800, Dave Young wrote: > On Jan 25, 2008 3:09 PM, Greg Kroah-Hartman <[EMAIL PROTECTED]> wrote: > > +/** > > + * kset_create_and_add - create a struct kset dynamically and add it to > > sysfs > > + * > > + * @name: the name for the kset > > + * @uevent_ops: a s

Re: [PATCH 044/196] kset: add kset_create_and_add function

2008-01-25 Thread Dave Young
On Jan 25, 2008 3:09 PM, Greg Kroah-Hartman <[EMAIL PROTECTED]> wrote: > Now ksets can be dynamically created on the fly, no static definitions > are required. Thanks to Miklos for hints on how to make this work > better for the callers. > > And thanks to Kay for finding some stupid bugs in my ori

[PATCH 044/196] kset: add kset_create_and_add function

2008-01-24 Thread Greg Kroah-Hartman
Now ksets can be dynamically created on the fly, no static definitions are required. Thanks to Miklos for hints on how to make this work better for the callers. And thanks to Kay for finding some stupid bugs in my original version and pointing out that we need to handle the fact that kobject's ca