mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
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>
This commit is contained in:
parent
75e5b5fb77
commit
5a1a57efeb
1 changed files with 1 additions and 1 deletions
|
@ -776,7 +776,7 @@ acpi_ex_dump_operands(union acpi_operand_object **operands,
|
||||||
const char *note,
|
const char *note,
|
||||||
const char *module_name, u32 line_number)
|
const char *module_name, u32 line_number)
|
||||||
{
|
{
|
||||||
u32 i;
|
s32 i;
|
||||||
|
|
||||||
ACPI_FUNCTION_NAME(ex_dump_operands);
|
ACPI_FUNCTION_NAME(ex_dump_operands);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue