Skip to content

Commit 5620fe6

Browse files
committed
ACPICA: Make acpi_ex_load_op() match upstream
The acpi_ex_load_op() code has slightly diverged from the upstream implementation, so correct that to make the behavior consistent with the upstream and avoid patch backporting issues going forward. Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 247f34f commit 5620fe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/acpi/acpica/exconfig.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ acpi_ex_load_op(union acpi_operand_object *obj_desc,
295295
target));
296296
}
297297
if (target->common.type != ACPI_TYPE_INTEGER) {
298-
ACPI_EXCEPTION((AE_INFO, AE_TYPE,
299-
"Type not integer: %X\n", target->common.type));
298+
ACPI_ERROR((AE_INFO, "Type not integer: %X",
299+
target->common.type));
300300
return_ACPI_STATUS(AE_AML_OPERAND_TYPE);
301301
}
302302

0 commit comments

Comments
 (0)