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

The function chipset_bus_create should return an error. If an error
is returned, it is assumed the response has not been sent by bus_create.

Correctly handle when the error has been returned in visorchipset.

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/visorbus_main.c
drivers/staging/unisys/visorbus/visorbus_private.h
drivers/staging/unisys/visorbus/visorchipset.c