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

Rafael J. Wysocki
2022-11-23T18:31:06Z

On Fri, Nov 18, 2022 at 7:33 AM Wang ShaoBo <bobo.shaobowang@huawei.com> 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!