mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
185000fc55
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> |
||
---|---|---|
.. | ||
kobject-example.c | ||
kset-example.c | ||
Makefile |