]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitdeeeca6db20fde52eafbc5985cfe4f4c10a7de8e
tree6d1d41c6c474e5ef426f8bca69ffdfd588e2e0c1
parentae0fa822d7d455ba8974fb5fa1d437bfd1811a7a
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