kobject: kobject_uevent() returns manageable value
commit542cfce6f36e8c43f71ae9c235b78497f350ae55
authorAneesh Kumar K.V <aneesh.kumar@gmail.com>
Tue, 19 Dec 2006 21:01:27 +0000 (19 13:01 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Dec 2006 18:56:44 +0000 (20 10:56 -0800)
tree9f8733a9295160c3817f26a08a1bfb0b78a95c8d
parentf334b60b43a0927f4ab1187cbdb4582f5227c3b1
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