diff options
author | Lv Zheng <lv.zheng@intel.com> | 2014-07-08 06:06:05 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-07-08 16:22:25 +0400 |
commit | ae8ffc7dbb7e2bb9cbf3d84ef4116c5f7901539a (patch) | |
tree | 8c3e3de591d7fb0f2f0b37d14927928eb1fa8075 /fs/fcntl.c | |
parent | 890fbfa051148933ea24cdaee868e2e1c4b93ecd (diff) | |
download | linux-ae8ffc7dbb7e2bb9cbf3d84ef4116c5f7901539a.tar.xz |
ACPICA: Utilities: Fix an issue with non-native ACPI_IS_PRINT()
An error was found in the ACPICA provided non-native ACPI_IS_PRINT() causing the
following difference with the native isprint() implementation:
The GNU libc isprint('\n') test result:
isprint(0x20) is FALSE
The Linux kernel isprint('\n') test result:
ACPI: isprint(0x20) is FALSE
The _acpi_ctype isprint('\n') test result:
isprint(0x20) is TRUE
The ACPI_IS_PRINT() macro generated for _acpi_ctype is wrong. It should use
_ACPI_XS instead of _ACPI_SP. _ACPI_XS is white space only. Other space
characters should be non printable.
This patch fixes this issue. For OSPMs that are using native standard
isprint() implementations, this patch is a no-op. Lv Zheng.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions