Cleanup of invalid ACPI name handling and repair
authorBob Moore <robert.moore@intel.com>
Wed, 31 Oct 2012 02:24:51 +0000 (02:24 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Nov 2012 23:31:21 +0000 (00:31 +0100)
commit45dcd31547fcd58273423799b12efe0e8371127e
treefc89c938a91796caa1ee581f45581a05d806aa16
parent77b67063bb6bce6d475e910d3b886a606d0d91f7
Cleanup of invalid ACPI name handling and repair

 Implemented a change/cleanup for the handling of invalid ACPI names.
 Names are now validated and repaired only when
 1) entering a new name into the namespace and
 2) disassembling a named AML opcode. A warning is only displayed in
    debug mode or when the interpreter is in "strict" mode, since some
    working machines do in fact contain invalid ACPI names.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/acutils.h
drivers/acpi/acpica/nsdump.c
drivers/acpi/acpica/nssearch.c
drivers/acpi/acpica/utmisc.c