On Thu, Jun 26, 2008 at 10:19:01PM +0200, Bernhard Walle wrote:
Please provide new entries in Documentation/ABI/ for these new sysfs
files with all of this information.
Should this be static?
Where is the kobject initialized properly?
Ah, later on, that's scary...
Do you really need your own kobj_type here? What you want is just a
directory, and some attributes assigned to the kobject, can't you use
the default kobject attributes for them?
I'm not saying this is incorrect, it looks implemented properly, just
curious.
So the list is supposed to be set up before this function is called? Is
that because of early boot issues?
You should document this somehow.
Does this really need to be in the .h file?
thanks,
greg k-h
--