diff options
Diffstat (limited to 'drivers/acpi/acpica/exstorob.c')
-rw-r--r-- | drivers/acpi/acpica/exstorob.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/exstorob.c b/drivers/acpi/acpica/exstorob.c index 53c248473547..b5f339cb1305 100644 --- a/drivers/acpi/acpica/exstorob.c +++ b/drivers/acpi/acpica/exstorob.c | |||
@@ -1,4 +1,3 @@ | |||
1 | |||
2 | /****************************************************************************** | 1 | /****************************************************************************** |
3 | * | 2 | * |
4 | * Module Name: exstorob - AML Interpreter object store support, store to object | 3 | * Module Name: exstorob - AML Interpreter object store support, store to object |
@@ -108,7 +107,7 @@ acpi_ex_store_buffer_to_buffer(union acpi_operand_object *source_desc, | |||
108 | #ifdef ACPI_OBSOLETE_BEHAVIOR | 107 | #ifdef ACPI_OBSOLETE_BEHAVIOR |
109 | /* | 108 | /* |
110 | * NOTE: ACPI versions up to 3.0 specified that the buffer must be | 109 | * NOTE: ACPI versions up to 3.0 specified that the buffer must be |
111 | * truncated if the string is smaller than the buffer. However, "other" | 110 | * truncated if the string is smaller than the buffer. However, "other" |
112 | * implementations of ACPI never did this and thus became the defacto | 111 | * implementations of ACPI never did this and thus became the defacto |
113 | * standard. ACPI 3.0A changes this behavior such that the buffer | 112 | * standard. ACPI 3.0A changes this behavior such that the buffer |
114 | * is no longer truncated. | 113 | * is no longer truncated. |
@@ -117,7 +116,7 @@ acpi_ex_store_buffer_to_buffer(union acpi_operand_object *source_desc, | |||
117 | /* | 116 | /* |
118 | * OBSOLETE BEHAVIOR: | 117 | * OBSOLETE BEHAVIOR: |
119 | * If the original source was a string, we must truncate the buffer, | 118 | * If the original source was a string, we must truncate the buffer, |
120 | * according to the ACPI spec. Integer-to-Buffer and Buffer-to-Buffer | 119 | * according to the ACPI spec. Integer-to-Buffer and Buffer-to-Buffer |
121 | * copy must not truncate the original buffer. | 120 | * copy must not truncate the original buffer. |
122 | */ | 121 | */ |
123 | if (original_src_type == ACPI_TYPE_STRING) { | 122 | if (original_src_type == ACPI_TYPE_STRING) { |