Skip to content

Commit

Permalink
ACPICA: Fix for invalid large array index on 64-bit systems
Browse files Browse the repository at this point in the history
This problem was introduced in 20080514 as a result of the
elimination of the acpi_native_uint type. Code uses a negative
array index, which should be eliminated.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
  • Loading branch information
Bob Moore authored and Andi Kleen committed Jul 16, 2008
1 parent 75e5b5f commit 5a1a57e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/executer/exdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ acpi_ex_dump_operands(union acpi_operand_object **operands,
const char *note,
const char *module_name, u32 line_number)
{
u32 i;
s32 i;

ACPI_FUNCTION_NAME(ex_dump_operands);

Expand Down

0 comments on commit 5a1a57e

Please sign in to comment.