commit | 28a68387888997e8a7fa57940ea5d55f2e16b594 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Wed Apr 11 11:15:48 2018 +0200 |
committer | Alex Williamson <alex.williamson@redhat.com> | Fri Jun 08 10:24:20 2018 -0600 |
tree | 96851056a21bfba4ea04af2f8ff3ce3c4b51b66e | |
parent | a5e6e6505f38f7bce1d3576503a2bffff3fa888c [diff] |
vfio: platform: Fix reset module leak in error path If the IOMMU group setup fails, the reset module is not released. Fixes: b5add544d677d363 ("vfio, platform: make reset driver a requirement by default") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Acked-by: Eric Auger <eric.auger@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>