diff options
author | Bob Moore <robert.moore@intel.com> | 2009-05-21 02:10:16 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-05-27 04:35:50 (GMT) |
commit | 474caffdc1ab35e9bcb1f88768442e3a4079a10d (patch) | |
tree | 97d4e99df5422e642ff07e958ed7690cf73c0633 /drivers | |
parent | a76b7727364ebb77b25983427623757d2c99bbc3 (diff) | |
download | linux-fsl-qoriq-474caffdc1ab35e9bcb1f88768442e3a4079a10d.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/acpica/rscalc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/rscalc.c b/drivers/acpi/acpica/rscalc.c index d3f77a5..3c4dcc3 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); } /* |