Re: [PATCH v3 1/2] vfio: platform: Fix reset module leak in error path
From: Alex Williamson
Date: Fri May 11 2018 - 15:45:50 EST
On Wed, 11 Apr 2018 11:15:48 +0200
Geert Uytterhoeven <geert+renesas@xxxxxxxxx> wrote:
> 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@xxxxxxxxx>
> Reviewed-by: Eric Auger <eric.auger@xxxxxxxxxx>
> Reviewed-by: Simon Horman <horms+renesas@xxxxxxxxxxxx>
> ---
> v3:
> - Add Reviewed-by,
>
> v2:
> - Add Reviewed-by.
> ---
> drivers/vfio/platform/vfio_platform_common.c | 15 ++++++++++-----
> 1 file changed, 10 insertions(+), 5 deletions(-)
Applied to next branch for v4.18 with Eric's ack. Thanks,
Alex