ACPICA: iASL: Enhance detection of non-ascii or corrupted input files.
authorBob Moore <robert.moore@intel.com>
Thu, 21 May 2015 02:30:38 +0000 (10:30 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 22 May 2015 01:22:19 +0000 (03:22 +0200)
commita737222240848c771b2bc44880d3253fb7c03e13
tree827cd629a6f74d8f2e6f2af72849f852b542f690
parentb0e01c7241560b4e62b43e397b2bb3484e30e670
ACPICA: iASL: Enhance detection of non-ascii or corrupted input files.

ACPICA commit 08170904011f1e8f817d9e3a9f2bb2438aeacf60

For the compiler part (not disassembler).
- Characters not within a comment must be be ASCII (0-0x7F), and
now either printable or a "space" character.
Provides better detection of files that cannot be compiled.

This patch only affects iASL which is not in the Linux upstream.

Link: https://github.com/acpica/acpica/commit/08170904
Signed-off-by: Bob Moore <robert.moore@intel.com>
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/utfileio.c