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)
commitae0fa822d7d455ba8974fb5fa1d437bfd1811a7a
tree4638f3b5561e84a4384956f62aee66a4abfa0dc7
parentfbc1023afbc7602c8b1053c8432286750ecbd5a0
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