Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286456
b: refs/heads/master
c: 46dfb09
h: refs/heads/master
v: v3
  • Loading branch information
Bob Moore authored and Len Brown committed Jan 17, 2012
1 parent 3a3a234 commit 4a55fe8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8519bc9f1e6db43a9b95b70ef0c7b61cb36d58e4
refs/heads/master: 46dfb09c024a1a92ead63b40f6993dcb5eb7d153
6 changes: 6 additions & 0 deletions trunk/drivers/acpi/acpica/exfldio.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ acpi_ex_access_region(union acpi_operand_object *obj_desc,
static u8
acpi_ex_register_overflow(union acpi_operand_object *obj_desc, u64 value)
{
ACPI_FUNCTION_NAME(ex_register_overflow);

if (obj_desc->common_field.bit_length >= ACPI_INTEGER_BIT_SIZE) {
/*
Expand All @@ -330,6 +331,11 @@ acpi_ex_register_overflow(union acpi_operand_object *obj_desc, u64 value)
* The Value is larger than the maximum value that can fit into
* the register.
*/
ACPI_ERROR((AE_INFO,
"Index value 0x%8.8X%8.8X overflows field width 0x%X",
ACPI_FORMAT_UINT64(value),
obj_desc->common_field.bit_length));

return (TRUE);
}

Expand Down

0 comments on commit 4a55fe8

Please sign in to comment.