Re: [PATCH 0/2] change to use ACPI_FREE() to free the ACPI memory

From: Rafael J. Wysocki
Date: Wed Nov 23 2022 - 13:31:14 EST


On Fri, Nov 18, 2022 at 7:33 AM Wang ShaoBo <bobo.shaobowang@xxxxxxxxxx> wrote:
>
> acpi_evaluate_dsm_typed()/acpi_evaluate_dsm() should be coupled with
> ACPI_FREE() to free the ACPI memory, because we need to track the
> allocation of acpi_object when ACPI_DBG_TRACK_ALLOCATIONS enabled,
> so use ACPI_FREE() instead of kfree().
>
> Wang ShaoBo (2):
> ACPI: pfr_telemetry: use ACPI_FREE() to free acpi_object
> ACPI: pfr_update: use ACPI_FREE() to free acpi_object
>
> drivers/acpi/pfr_telemetry.c | 6 +++---
> drivers/acpi/pfr_update.c | 6 +++---
> 2 files changed, 6 insertions(+), 6 deletions(-)
>
> --

Both applied as 6.2 material, thanks!