diff options
author | Sinan Kaya <okaya@codeaurora.org> | 2016-07-19 09:01:49 -0400 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2016-07-19 10:54:45 -0600 |
commit | 0991bbdbf5b85bd14a26e783f087b0f2913c93b1 (patch) | |
tree | dd30472250b3624da8d809f58fbe309d496f8ac5 /drivers/leds | |
parent | e99442323f33470677deeed35619313b05837f35 (diff) |
vfio: platform: check reset call return code during release
Release call is ignoring the return code from reset call and can
potentially continue even though reset call failed.
If reset_required module parameter is set, this patch is going
to validate the return code and will cause stack dump with
WARN_ON and warn the user of failure.
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Baptiste Reynal <b.reynal@virtualopensystems.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions