Re: [PATCH 2/2] ACPI: pfr_update: use ACPI_FREE() to free acpi_object
From: Chen Yu
Date: Fri Nov 18 2022 - 06:24:40 EST
On 2022-11-18 at 14:32:19 +0800, Wang ShaoBo 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().
>
> Fixes: 0db89fa243e5 ("ACPI: Introduce Platform Firmware Runtime Update device driver")
> Signed-off-by: Wang ShaoBo <bobo.shaobowang@xxxxxxxxxx>
Reviewed-by: Chen Yu <yu.c.chen@xxxxxxxxx>
thanks,
Chenyu