commit | 79f0313bfc67aa13abb931e8c12a1411f0161a68 | [log] [tgz] |
---|---|---|
author | Xiaotian Feng <dfeng@redhat.com> | Fri Jul 24 17:31:41 2009 +0800 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Jul 28 13:45:22 2009 -0700 |
tree | 51eebd9f4d5886139849ff42df24cec4169ea343 | |
parent | 4df7b3e0370ab6161ea2f258f51dd7c43bef2bda [diff] |
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 <dfeng@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>