[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y3drFvDUME3vYIFD@chenyu5-mobl1>
Date: Fri, 18 Nov 2022 19:23:02 +0800
From: Chen Yu <yu.c.chen@...el.com>
To: Wang ShaoBo <bobo.shaobowang@...wei.com>
CC: <rafael.j.wysocki@...el.com>, <rafael@...nel.org>,
<lenb@...nel.org>, <linux-acpi@...r.kernel.org>,
<guohanjun@...wei.com>, <liwei391@...wei.com>,
<linux-kernel@...r.kernel.org>, <rui.zhang@...el.com>
Subject: Re: [PATCH 2/2] ACPI: pfr_update: use ACPI_FREE() to free acpi_object
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@...wei.com>
Reviewed-by: Chen Yu <yu.c.chen@...el.com>
thanks,
Chenyu
Powered by blists - more mailing lists