]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: visorbus: add error handling around kobject_uevent
authorDavid Kershner <david.kershner@unisys.com>
Tue, 28 Mar 2017 13:34:22 +0000 (09:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Mar 2017 07:17:02 +0000 (09:17 +0200)
commita3f43e9da4d87aa01559ebb3d51412eccdb03aa1
tree6d1d41c6c474e5ef426f8bca69ffdfd588e2e0c1
parentd7c5db9656f9f9c9961eae0ea0f99f32d31f01f4
staging: unisys: visorbus: add error handling around kobject_uevent

The function kobject_uevent_env can return an error, pass that error
to the caller so it can be handled correctly.

Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c