summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/dbconvert.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2017-09-20 04:00:36 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-10-04 01:43:06 +0200
commitfe97d28704147ba72f7d7859909f80b4bb5a17d4 (patch)
tree50086c700b9106ad82c6a6c2616fc26ffdcd485a /drivers/acpi/acpica/dbconvert.c
parentACPICA: Header support for the PDTT ACPI table (diff)
downloadlinux-fe97d28704147ba72f7d7859909f80b4bb5a17d4.tar.xz
linux-fe97d28704147ba72f7d7859909f80b4bb5a17d4.zip
ACPICA: Restructure/cleanup all string-to-integer conversion functions
ACPICA commit 610046d444ad781cc36673bf1f030abe50cbc61f Improve adherence to ACPI spec for implicit and explicit conversions Adds octal support for constants in ASL code Adds integer overflow errors for constants during ASL compilation Eliminates most of the existing complex flags parameters Simplify support for implicit/explicit runtime conversions Adds one new file, utilities/utstrsuppt.c Link: https://github.com/acpica/acpica/commit/610046d444ad 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>
Diffstat (limited to 'drivers/acpi/acpica/dbconvert.c')
-rw-r--r--drivers/acpi/acpica/dbconvert.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/acpi/acpica/dbconvert.c b/drivers/acpi/acpica/dbconvert.c
index 857dbc43a9b1..32d546f0db2f 100644
--- a/drivers/acpi/acpica/dbconvert.c
+++ b/drivers/acpi/acpica/dbconvert.c
@@ -277,10 +277,7 @@ acpi_db_convert_to_object(acpi_object_type type,
default:
object->type = ACPI_TYPE_INTEGER;
- status = acpi_ut_strtoul64(string,
- (acpi_gbl_integer_byte_width |
- ACPI_STRTOUL_BASE16),
- &object->integer.value);
+ status = acpi_ut_strtoul64(string, &object->integer.value);
break;
}