aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2008-06-10 02:21:05 -0400
committerAndi Kleen <andi@basil.nowhere.org>2008-07-16 17:27:04 -0400
commit5a1a57efeb152d6b8a3b2a20f6b192d074e919ec (patch)
treee27014feb79e210cb824ccf8f3487ed4466341f6
parent75e5b5fb778646a93d98adb1ca697435362d2856 (diff)
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 <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>
-rw-r--r--drivers/acpi/executer/exdump.c2
1 files changed, 1 insertions, 1 deletions
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,
776 const char *note, 776 const char *note,
777 const char *module_name, u32 line_number) 777 const char *module_name, u32 line_number)
778{ 778{
779 u32 i; 779 s32 i;
780 780
781 ACPI_FUNCTION_NAME(ex_dump_operands); 781 ACPI_FUNCTION_NAME(ex_dump_operands);
782 782