Message ID | alpine.LFD.2.00.0903151037210.3131@localhost.localdomain (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/drivers/acpi/acpica/exfldio.c b/drivers/acpi/acpica/exfldio.c index ef58ac4..9297adb 100644 --- a/drivers/acpi/acpica/exfldio.c +++ b/drivers/acpi/acpica/exfldio.c @@ -698,6 +698,9 @@ acpi_ex_extract_from_field(union acpi_operand_object *obj_desc, } ACPI_MEMSET(buffer, 0, buffer_length); + if (!obj_desc->common_field.bit_length) + return_ACPI_STATUS(AE_OK); + /* Compute the number of datums (access width data items) */ datum_count = ACPI_ROUND_UP_TO(obj_desc->common_field.bit_length,