]> 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)
commit831d74c9badb02e077bfe4ab2748f8674b6d714b
tree4638f3b5561e84a4384956f62aee66a4abfa0dc7
parent0b26000d3136225920048b8909a062a2eefa9dd6
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