linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] change to use ACPI_FREE() to free the ACPI memory
@ 2022-11-18  6:32 Wang ShaoBo
  2022-11-18  6:32 ` [PATCH 1/2] ACPI: pfr_telemetry: use ACPI_FREE() to free acpi_object Wang ShaoBo
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Wang ShaoBo @ 2022-11-18  6:32 UTC (permalink / raw)
  Cc: rafael.j.wysocki, rafael, lenb, yu.c.chen, linux-acpi, guohanjun,
	liwei391, linux-kernel

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(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-11-23 18:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-18  6:32 [PATCH 0/2] change to use ACPI_FREE() to free the ACPI memory Wang ShaoBo
2022-11-18  6:32 ` [PATCH 1/2] ACPI: pfr_telemetry: use ACPI_FREE() to free acpi_object Wang ShaoBo
2022-11-18 11:21   ` Chen Yu
2022-11-18  6:32 ` [PATCH 2/2] ACPI: pfr_update: " Wang ShaoBo
2022-11-18 11:23   ` Chen Yu
2022-11-23 18:30 ` [PATCH 0/2] change to use ACPI_FREE() to free the ACPI memory Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).