Erik Kaneda
a8c0057aee
ACPICA: Fix memory leak caused by _CID repair function
...
[ Upstream commit c27bac0314131b11bccd735f7e8415ac6444b667 ]
ACPICA commit 180cb53963aa876c782a6f52cc155d951b26051a
According to the ACPI spec, _CID returns a package containing
hardware ID's. Each element of an ASL package contains a reference
count from the parent package as well as the element itself.
Name (TEST, Package() {
"String object" // this package element has a reference count of 2
})
A memory leak was caused in the _CID repair function because it did
not decrement the reference count created by the package. Fix the
memory leak by calling acpi_ut_remove_reference on _CID package elements
that represent a hardware ID (_HID).
Link: https://github.com/acpica/acpica/commit/180cb539
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:55:59 +02:00
..
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-02-16 10:19:51 +01:00
2020-10-08 18:03:55 +02:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-09-11 16:44:45 +02:00
2020-09-04 19:34:15 +02:00
2020-01-13 11:52:48 +01:00
2020-09-04 19:34:15 +02:00
2020-02-16 10:19:51 +01:00
2020-03-30 14:52:33 +02:00
2021-03-11 14:17:21 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-10-08 18:03:55 +02:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2018-03-18 19:08:05 +01:00
2019-10-28 22:12:46 +01:00
2020-06-05 13:34:23 +02:00
2020-10-08 18:03:55 +02:00
2019-10-28 22:12:46 +01:00
2020-05-09 10:55:53 +02:00
2020-10-08 18:03:55 +02:00
2020-10-08 18:03:55 +02:00
2019-10-28 22:12:46 +01:00
2019-10-28 22:12:46 +01:00
2019-08-21 00:00:37 +02:00
2019-02-18 11:21:10 +01:00
2018-03-18 19:08:05 +01:00
2020-03-30 14:52:32 +02:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-05-09 10:55:54 +02:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2018-03-18 19:08:05 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2018-12-13 22:40:51 +01:00
2020-03-30 14:52:33 +02:00
2020-03-30 14:52:33 +02:00
2020-03-30 14:52:33 +02:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-03-30 14:53:36 +02:00
2020-01-13 11:52:48 +01:00
2020-09-04 19:34:15 +02:00
2020-09-04 19:34:15 +02:00
2020-09-11 16:44:45 +02:00
2020-01-13 11:52:48 +01:00
2021-03-11 14:17:21 +01:00
2020-01-13 11:52:48 +01:00
2021-03-11 14:17:21 +01:00
2020-07-27 12:29:02 +02:00
2018-03-18 19:08:05 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-03-25 12:57:27 +01:00
2021-03-11 14:17:21 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-05-09 10:55:53 +02:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-07-27 14:55:42 +02:00
2020-07-27 12:29:02 +02:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-10-19 14:46:39 +02:00
2018-03-18 19:08:05 +01:00
2018-08-14 23:49:13 +02:00
2020-02-16 10:19:52 +01:00
2020-01-13 11:52:48 +01:00
2020-09-04 19:33:54 +02:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2018-12-20 10:19:49 +01:00
2021-03-30 14:31:54 +02:00
2020-10-08 18:03:56 +02:00
2020-10-08 18:03:55 +02:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2019-07-04 00:59:43 +02:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-03-30 14:52:33 +02:00
2019-04-09 10:05:11 +02:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2021-07-14 16:55:59 +02:00
2020-01-13 11:52:48 +01:00
2018-07-09 11:14:45 +02:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2018-03-18 19:08:05 +01:00
2020-02-16 10:19:53 +01:00
2020-10-08 18:03:55 +02:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-10-08 18:03:55 +02:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2018-03-18 19:08:05 +01:00
2018-03-18 19:08:05 +01:00
2019-10-28 22:12:46 +01:00
2018-05-15 10:16:10 +02:00
2019-02-24 21:12:01 +01:00
2018-03-18 19:08:05 +01:00
2018-03-18 19:08:05 +01:00
2019-02-24 21:12:01 +01:00
2018-03-18 19:08:05 +01:00
2018-03-18 19:08:05 +01:00
2018-03-18 19:08:05 +01:00
2019-02-24 21:12:01 +01:00
2018-03-18 19:08:05 +01:00
2019-04-09 10:08:28 +02:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-02-16 10:19:52 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-06-05 13:34:23 +02:00
2021-06-10 13:39:17 +02:00
2019-08-21 00:00:36 +02:00
2020-01-13 11:52:48 +01:00
2018-03-18 19:08:05 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-07-27 14:55:42 +02:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2018-03-18 19:08:05 +01:00
2019-04-09 10:08:28 +02:00
2018-05-10 17:18:45 +02:00
2018-03-18 19:08:05 +01:00
2020-02-16 10:19:53 +01:00
2020-01-13 11:52:48 +01:00
2019-08-21 00:00:36 +02:00
2020-10-08 18:03:55 +02:00
2020-03-30 14:52:32 +02:00
2018-03-18 19:08:05 +01:00
2018-03-18 19:08:05 +01:00
2018-03-18 19:08:05 +01:00
2019-04-09 11:24:48 +02:00
2020-10-08 18:03:55 +02:00
2018-08-14 23:49:13 +02:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2020-01-13 11:52:48 +01:00
2019-01-15 18:04:02 +01:00
2020-01-13 11:52:48 +01:00
2018-03-18 19:08:05 +01:00