]> git.baikalelectronics.ru Git - kernel.git/commit
kobject: kobject_uevent() returns manageable value
authorAneesh Kumar K.V <aneesh.kumar@gmail.com>
Tue, 19 Dec 2006 21:01:27 +0000 (13:01 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Dec 2006 18:56:44 +0000 (10:56 -0800)
commit1befc423948149ca905b4313c142578ecdd7ecd4
tree9f8733a9295160c3817f26a08a1bfb0b78a95c8d
parentfeb86354fd62f15b5520cefe31b420f1216d6c00
kobject: kobject_uevent() returns manageable value

Since kobject_uevent() function does not return an integer value to
indicate if its operation was completed with success or not, it is worth
changing it in order to report a proper status (success or error) instead
of returning void.

[randy.dunlap@oracle.com: Fix inline kobject functions]
Cc: Mauricio Lin <mauriciolin@gmail.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/kobject.h
lib/kobject_uevent.c