lkml.org 
[lkml]   [2022]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] ACPI: pfr_telemetry: use ACPI_FREE() to free acpi_object
On 2022-11-18 at 14:32:18 +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: b0013e037a8b ("ACPI: Introduce Platform Firmware Runtime Telemetry driver")
> Signed-off-by: Wang ShaoBo <bobo.shaobowang@huawei.com>
Reviewed-by: Chen Yu <yu.c.chen@intel.com>

thanks,
Chenyu

\
 
 \ /
  Last update: 2022-11-18 12:24    [W:0.060 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site