diff options
Diffstat (limited to 'drivers/acpi/acpica/utids.c')
-rw-r--r-- | drivers/acpi/acpica/utids.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/utids.c b/drivers/acpi/acpica/utids.c index 43a170a74a61..fa69071db418 100644 --- a/drivers/acpi/acpica/utids.c +++ b/drivers/acpi/acpica/utids.c | |||
@@ -341,14 +341,17 @@ acpi_ut_execute_CID(struct acpi_namespace_node *device_node, | |||
341 | 341 | ||
342 | switch (cid_objects[i]->common.type) { | 342 | switch (cid_objects[i]->common.type) { |
343 | case ACPI_TYPE_INTEGER: | 343 | case ACPI_TYPE_INTEGER: |
344 | |||
344 | string_area_size += ACPI_EISAID_STRING_SIZE; | 345 | string_area_size += ACPI_EISAID_STRING_SIZE; |
345 | break; | 346 | break; |
346 | 347 | ||
347 | case ACPI_TYPE_STRING: | 348 | case ACPI_TYPE_STRING: |
349 | |||
348 | string_area_size += cid_objects[i]->string.length + 1; | 350 | string_area_size += cid_objects[i]->string.length + 1; |
349 | break; | 351 | break; |
350 | 352 | ||
351 | default: | 353 | default: |
354 | |||
352 | status = AE_TYPE; | 355 | status = AE_TYPE; |
353 | goto cleanup; | 356 | goto cleanup; |
354 | } | 357 | } |