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

The function kobject_uevent_env returns an error we shouldn't just drop it
on the floor but we should report it back to the caller. Since it now
returns an error, need to add proper error handling to
parahotplug_process_message.

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