kobject: make kset_create check kobject_set_name return value
authorDave Young <hidave.darkstar@gmail.com>
Mon, 11 May 2009 06:17:45 +0000 (14:17 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:30:24 +0000 (21:30 -0700)
commitd9cd8f37855b012757818f31390e8f84db251c89
tree4785d05f5df93747b6aa3386c98784d441d61377
parent59a3cd7f9da60ac4ba8ae5a4cddc48fe4a450129
kobject: make kset_create check kobject_set_name return value

kset_create should check the kobject_set_name return value.

Add the return value checking code.

Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
lib/kobject.c