aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/exresop.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica/exresop.c')
-rw-r--r--drivers/acpi/acpica/exresop.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/acpi/acpica/exresop.c b/drivers/acpi/acpica/exresop.c
index 27b41fd7542d..f29eba1dc5e9 100644
--- a/drivers/acpi/acpica/exresop.c
+++ b/drivers/acpi/acpica/exresop.c
@@ -410,12 +410,13 @@ acpi_ex_resolve_operands(u16 opcode,
410 case ARGI_INTEGER: 410 case ARGI_INTEGER:
411 411
412 /* 412 /*
413 * Need an operand of type ACPI_TYPE_INTEGER, 413 * Need an operand of type ACPI_TYPE_INTEGER, but we can
414 * But we can implicitly convert from a STRING or BUFFER 414 * implicitly convert from a STRING or BUFFER.
415 * aka - "Implicit Source Operand Conversion" 415 *
416 * Known as "Implicit Source Operand Conversion"
416 */ 417 */
417 status = 418 status = acpi_ex_convert_to_integer(obj_desc, stack_ptr,
418 acpi_ex_convert_to_integer(obj_desc, stack_ptr, 16); 419 ACPI_STRTOUL_BASE16);
419 if (ACPI_FAILURE(status)) { 420 if (ACPI_FAILURE(status)) {
420 if (status == AE_TYPE) { 421 if (status == AE_TYPE) {
421 ACPI_ERROR((AE_INFO, 422 ACPI_ERROR((AE_INFO,