From: Xiaotian Feng Date: Fri, 24 Jul 2009 09:31:41 +0000 (+0800) Subject: driver core: sysdev: do not send KOBJ_ADD uevent if kobject_init_and_add fails X-Git-Tag: v2.6.31-rc5~69^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79f0313bfc67aa13abb931e8c12a1411f0161a68;p=pandora-kernel.git driver core: sysdev: do not send KOBJ_ADD uevent if kobject_init_and_add fails If kobject_init_and_add fails, sysdev_register should not send KOBJ_ADD uevent to userspace. Signed-off-by: Xiaotian Feng Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed