diff options
Diffstat (limited to 'drivers/acpi/executer/exmisc.c')
-rw-r--r-- | drivers/acpi/executer/exmisc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/acpi/executer/exmisc.c b/drivers/acpi/executer/exmisc.c index a3f4d72bedc9..1899ab251393 100644 --- a/drivers/acpi/executer/exmisc.c +++ b/drivers/acpi/executer/exmisc.c | |||
@@ -625,9 +625,8 @@ acpi_ex_do_logical_op(u16 opcode, | |||
625 | 625 | ||
626 | /* Lexicographic compare: compare the data bytes */ | 626 | /* Lexicographic compare: compare the data bytes */ |
627 | 627 | ||
628 | compare = ACPI_MEMCMP((const char *)operand0->buffer.pointer, | 628 | compare = ACPI_MEMCMP(operand0->buffer.pointer, |
629 | (const char *)local_operand1->buffer. | 629 | local_operand1->buffer.pointer, |
630 | pointer, | ||
631 | (length0 > length1) ? length1 : length0); | 630 | (length0 > length1) ? length1 : length0); |
632 | 631 | ||
633 | switch (opcode) { | 632 | switch (opcode) { |