summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Ming <ming.m.lin@intel.com>2008-04-10 15:06:42 (GMT)
committerLen Brown <len.brown@intel.com>2008-04-22 18:29:29 (GMT)
commit200cce6a75061a3bf8d2e6b27c5cdcc7730893f1 (patch)
tree46b2b80c2dc8a1a9dd06de3dbed15c57410d5011
parent9accd46459b8c068540451fdab07dbfcefaf7280 (diff)
downloadlinux-fsl-qoriq-200cce6a75061a3bf8d2e6b27c5cdcc7730893f1.tar.xz
ACPICA: Fix for Load operator
Fixed a problem with the Load operator where an exception was not returned in the case where the table is already loaded. http://www.acpica.org/bugzilla/show_bug.cgi?id=463 Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r--drivers/acpi/tables/tbinstal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/tables/tbinstal.c b/drivers/acpi/tables/tbinstal.c
index 6a6ee1f..c4a9abb 100644
--- a/drivers/acpi/tables/tbinstal.c
+++ b/drivers/acpi/tables/tbinstal.c
@@ -169,6 +169,7 @@ acpi_tb_add_table(struct acpi_table_desc *table_desc,
acpi_tb_delete_table(table_desc);
*table_index = i;
+ status = AE_ALREADY_EXISTS;
goto release;
}