Re: [PATCH 2/2 V6] acpi/prmt: refactor acpi_platformrt_space_handler to drop gotos

From: Ard Biesheuvel
Date: Tue Oct 08 2024 - 05:13:25 EST


On Tue, 8 Oct 2024 at 05:24, Zhang, Rui <rui.zhang@xxxxxxxxx> wrote:
>
> On Sun, 2024-10-06 at 23:36 +0800, KobaK wrote:
> > From: koba ko <kobak@xxxxxxxxxx>
> >
> > Replace gotos with returns
> >
> > Signed-off-by: koba ko <kobak@xxxxxxxxxx>
>
> I think my previous comment was valid because a different prm_status is
> returned, say, PRM_HANDLER_ERROR.
>
> Given that we return AE_OK directly for PRM_HANDLER_ERROR case in patch
> 1/2, I think it is okay to drop this patch.
>


Agreed