ACPICA: Cleanup for all string-to-integer conversions
authorBob Moore <robert.moore@intel.com>
Wed, 7 Sep 2016 06:14:30 +0000 (14:14 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 10 Sep 2016 00:37:59 +0000 (02:37 +0200)
commit5ebd2eaaefc0d4fe37ab72e716e1b8065ed4206c
tree36563f7c5e47e58b2d0fe5624f135a19dfbd3c33
parent60361b75848c8614233e3374ef5a0056527f0385
ACPICA: Cleanup for all string-to-integer conversions

ACPICA commit e2e72a351201fd58e4694418859ae2c247dafca0

Consolidate multiple versions of strtoul64 to one common version.
limit possible bases to either 10 or 16.
Handles both implicit and explicit conversions.
Added a 2-character ascii-to-hex function for GPEs and buffers.
Adds a new file, utstrtoul64.c

Link: https://github.com/acpica/acpica/commit/e2e72a35
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>
17 files changed:
drivers/acpi/acpica/Makefile
drivers/acpi/acpica/acutils.h
drivers/acpi/acpica/dbconvert.c
drivers/acpi/acpica/dswexec.c
drivers/acpi/acpica/evgpeinit.c
drivers/acpi/acpica/exconcat.c
drivers/acpi/acpica/exconvrt.c
drivers/acpi/acpica/exmisc.c
drivers/acpi/acpica/exoparg1.c
drivers/acpi/acpica/exresop.c
drivers/acpi/acpica/nsconvert.c
drivers/acpi/acpica/uthex.c
drivers/acpi/acpica/utnonansi.c
drivers/acpi/acpica/utstrtoul64.c [new file with mode: 0644]
tools/power/acpi/tools/acpidump/Makefile
tools/power/acpi/tools/acpidump/apdump.c
tools/power/acpi/tools/acpidump/apmain.c