aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica')
-rw-r--r--drivers/acpi/acpica/exfldio.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/exfldio.c b/drivers/acpi/acpica/exfldio.c
index f915a7f3f92..19df8ce66ee 100644
--- a/drivers/acpi/acpica/exfldio.c
+++ b/drivers/acpi/acpica/exfldio.c
@@ -316,6 +316,7 @@ acpi_ex_access_region(union acpi_operand_object *obj_desc,
316static u8 316static u8
317acpi_ex_register_overflow(union acpi_operand_object *obj_desc, u64 value) 317acpi_ex_register_overflow(union acpi_operand_object *obj_desc, u64 value)
318{ 318{
319 ACPI_FUNCTION_NAME(ex_register_overflow);
319 320
320 if (obj_desc->common_field.bit_length >= ACPI_INTEGER_BIT_SIZE) { 321 if (obj_desc->common_field.bit_length >= ACPI_INTEGER_BIT_SIZE) {
321 /* 322 /*
@@ -330,6 +331,11 @@ acpi_ex_register_overflow(union acpi_operand_object *obj_desc, u64 value)
330 * The Value is larger than the maximum value that can fit into 331 * The Value is larger than the maximum value that can fit into
331 * the register. 332 * the register.
332 */ 333 */
334 ACPI_ERROR((AE_INFO,
335 "Index value 0x%8.8X%8.8X overflows field width 0x%X",
336 ACPI_FORMAT_UINT64(value),
337 obj_desc->common_field.bit_length));
338
333 return (TRUE); 339 return (TRUE);
334 } 340 }
335 341