dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/samples/kobject
Li Zefan 185000fc55 kobject: should use kobject_put() in kset-example
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 <lizf@cn.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-07-21 21:54:56 -07:00
..
Makefile kobject: add sample code for how to use ksets/ktypes/kobjects 2008-01-24 20:40:41 -08:00
kobject-example.c
kset-example.c kobject: should use kobject_put() in kset-example 2008-07-21 21:54:56 -07:00