aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/tbutils.c
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2014-04-04 12:38:50 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-04-20 22:59:39 +0200
commiteb0c65bd2c276b4b346db545d938d4113e1a4e9c (patch)
tree9e08a70553f2f9d459eacf4491e45874e7b79669 /drivers/acpi/acpica/tbutils.c
parentACPICA: Tables: Clean up split INSTALLED/VALIDATED table state logics. (diff)
downloadlinux-dev-eb0c65bd2c276b4b346db545d938d4113e1a4e9c.tar.xz
linux-dev-eb0c65bd2c276b4b346db545d938d4113e1a4e9c.zip
ACPICA: Tables: Fix unbalanced table validations.
As acpi_tb_validate_table() returns failure on checksum verification without doing invalidatation, all its invocations that are not done to a descriptor stored in acpi_gbl_root_table_list are checked and balanced. But this is not a real issue as the descritors that have been passed to acpi_tb_add_table() are all virtual address tables and the validations are in fact no-op. The cleanup can ensure that any future extensions made on acpi_tb_add_table() to allow it to be invoked with physical address tables will not trigger memory leakage regressions. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> [rjw: Subject] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/tbutils.c')
0 files changed, 0 insertions, 0 deletions