Commit 9f4a2976 authored by Bob Moore's avatar Bob Moore Committed by Rafael J. Wysocki

ACPICA: add comments, no functional change

Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarErik Schmauss <erik.schmauss@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 178a0f63
...@@ -287,9 +287,9 @@ acpi_status acpi_ex_opcode_2A_1T_1R(struct acpi_walk_state *walk_state) ...@@ -287,9 +287,9 @@ acpi_status acpi_ex_opcode_2A_1T_1R(struct acpi_walk_state *walk_state)
* NOTE: A length of zero is ok, and will create a zero-length, null * NOTE: A length of zero is ok, and will create a zero-length, null
* terminated string. * terminated string.
*/ */
while ((length < operand[0]->buffer.length) && while ((length < operand[0]->buffer.length) && /* Length of input buffer */
(length < operand[1]->integer.value) && (length < operand[1]->integer.value) && /* Length operand */
(operand[0]->buffer.pointer[length])) { (operand[0]->buffer.pointer[length])) { /* Null terminator */
length++; length++;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment