]> 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)
commitf1e91473cd486380bf953c831764da5c12e490c4
tree6d1d41c6c474e5ef426f8bca69ffdfd588e2e0c1
parent831d74c9badb02e077bfe4ab2748f8674b6d714b
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