WSL2-Linux-Kernel/samples
Bjorn Helgaas e756bc5670 kobject: fix kset sample error path
Previously, example_init() leaked a kset if any of the object creations
failed.  This fixes the leak by calling kset_unregister() in the error
path.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-12-03 10:13:30 -08:00
..
hidraw
hw_breakpoint
kdb
kfifo kfifo API type safety 2013-11-15 09:32:23 +09:00
kobject kobject: fix kset sample error path 2013-12-03 10:13:30 -08:00
kprobes
rpmsg
seccomp
trace_events
uhid
Kconfig
Makefile