ACPICA: Fix for acpi_reallocate_root_table for incorrect root table copy
commit333b04ae338e3421297d46c508f053a6767d2883
authorAlexey Starikovskiy <astarikovskiy@suse.de>
Thu, 1 Apr 2010 03:06:34 +0000 (1 11:06 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 20 Apr 2010 14:43:15 +0000 (20 10:43 -0400)
tree5b7474788fe26c20c8fe30d157d3ec96772ca0ad
parenta7499bc84eabb200f9dc23770a46d9a31b1e763a
ACPICA: Fix for acpi_reallocate_root_table for incorrect root table copy

When copying the root table to the new allocation, the length
used was incorrect. The new size was used instead of the current
table size, meaning too much data was copied.

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
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>
drivers/acpi/acpica/tbxface.c