07 Jan, 2009
1 commit
- 
None of these (init|exit) functions is called from other functions which
is outside the kernel module mechanism or kernel itself, so mark them as
{static|__init|__exit}.Signed-off-by: Qinghuang Feng
Cc: Mathieu Desnoyers
Acked-by: Greg Kroah-Hartman
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds 
22 Jul, 2008
1 commit
- 
We should call kobject_put() instead of kfree() if kobject_init_and_add()
returns an error, shouldn't we? Don't set up a bad example ;)Signed-off-by: Li Zefan
Signed-off-by: Greg Kroah-Hartman 
25 Jan, 2008
2 commits
- 
This is a more complex example showing how to create a kset and a ktype
and some default attributes for a group of kobjects.Cc: Kay Sievers
Signed-off-by: Greg Kroah-Hartman - 
This is a simple kobject module, showing how to use kobj_attributes in
basic and more complex ways.Cc: Kay Sievers
Signed-off-by: Greg Kroah-Hartman