• Lv Zheng's avatar
    ACPICA: Tables: Fix unbalanced table validations. · eb0c65bd
    Lv Zheng authored
    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: default avatarLv Zheng <lv.zheng@intel.com>
    Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
    [rjw: Subject]
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    eb0c65bd
tbinstal.c 24.8 KB