commit | f894c88a2448144db2fd4b6b2e6d0bc741d395b9 | [log] [tgz] |
---|---|---|
author | David Kershner <david.kershner@unisys.com> | Tue Mar 28 09:34:49 2017 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Mar 29 09:17:03 2017 +0200 |
tree | d5a556cad4a8f146695aa610fc1806f65438acc6 | |
parent | 15928a55690d744663ae2a924dca7b765eda9ed5 [diff] |
staging: unisys: visorbus: cleanup error handling in visorbus_uevent The add_uevent_var returns an error. Don't overwrite the error with -ENOMEM, just pass the error code back up. 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>