summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-05-21 04:10:16 +0200
committerLen Brown <len.brown@intel.com>2009-05-27 06:35:50 +0200
commit474caffdc1ab35e9bcb1f88768442e3a4079a10d (patch)
tree97d4e99df5422e642ff07e958ed7690cf73c0633
parentACPICA: Fix DebugObject output for DdbHandle objects (diff)
downloadlinux-474caffdc1ab35e9bcb1f88768442e3a4079a10d.tar.xz
linux-474caffdc1ab35e9bcb1f88768442e3a4079a10d.zip
ACPICA: Additional validation of _PRT packages (resource mgr)
Fixes a possible fault when parsing an ill-formed _PRT package. 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>
-rw-r--r--drivers/acpi/acpica/rscalc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/rscalc.c b/drivers/acpi/acpica/rscalc.c
index d3f77a5df79d..3c4dcc3d1069 100644
--- a/drivers/acpi/acpica/rscalc.c
+++ b/drivers/acpi/acpica/rscalc.c
@@ -547,7 +547,7 @@ acpi_rs_get_pci_routing_table_length(union acpi_operand_object *package_object,
if (!package_element ||
(package_element->common.type != ACPI_TYPE_PACKAGE)) {
- return_ACPI_STATUS (AE_AML_OPERAND_TYPE);
+ return_ACPI_STATUS(AE_AML_OPERAND_TYPE);
}
/*