From: Bob Moore Date: Tue, 10 Jun 2008 06:21:05 +0000 (+0800) Subject: ACPICA: Fix for invalid large array index on 64-bit systems X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=5a1a57efeb152d6b8a3b2a20f6b192d074e919ec;p=deliverable%2Flinux.git ACPICA: Fix for invalid large array index on 64-bit systems 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 Signed-off-by: Lin Ming Signed-off-by: Len Brown Signed-off-by: Andi Kleen --- diff --git a/drivers/acpi/executer/exdump.c b/drivers/acpi/executer/exdump.c index c94638dc42e5..f337c3f73e0c 100644 --- a/drivers/acpi/executer/exdump.c +++ b/drivers/acpi/executer/exdump.c @@ -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);