linux-stable/drivers/vfio
Geert Uytterhoeven c6e8116307 vfio: platform: Fix reset module leak in error path
[ Upstream commit 28a6838788 ]

If the IOMMU group setup fails, the reset module is not released.

Fixes: b5add544d6 ("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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-03 07:55:13 +02:00
..
pci vfio/pci: Fix potential Spectre v1 2018-07-25 11:23:59 +02:00
platform vfio: platform: Fix reset module leak in error path 2018-08-03 07:55:13 +02:00
Kconfig
Makefile
vfio.c vfio: New external user group/file match 2017-07-27 15:08:03 -07:00
vfio_iommu_spapr_tce.c vfio/spapr_tce: Check kzalloc() return when preregistering memory 2018-03-22 09:17:51 +01:00
vfio_iommu_type1.c vfio/type1: Remove locked page accounting workqueue 2017-05-20 14:28:38 +02:00
vfio_spapr_eeh.c
virqfd.c