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>
This commit is contained in:

committed by
Rafael J. Wysocki

szülő
81b7cb9295
commit
fe97d28704
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user