Re: [PATCH v2] hv_balloon: Fix balloon_probe() and balloon_remove() error handling

From: Wei Liu
Date: Thu May 26 2022 - 06:06:02 EST


On Tue, May 24, 2022 at 12:29:18AM +0000, Michael Kelley (LINUX) wrote:
> From: Shradha Gupta <shradhagupta@xxxxxxxxxxxxxxxxxxx>
> >
> > Add missing cleanup in balloon_probe() if the call to
> > balloon_connect_vsp() fails. Also correctly handle cleanup in
> > balloon_remove() when dm_state is DM_INIT_ERROR because
> > balloon_resume() failed.
> >
> > Signed-off-by: Shradha Gupta <shradhagupta@xxxxxxxxxxxxx>
> >
[...]
> > --
> > 2.17.1
>
> Reviewed-by: Michael Kelley <mikelley@xxxxxxxxxxxxx>
>

Applied to hyperv-next. Thanks.