]> err.no Git - linux-2.6/commitdiff
ACPICA: Fix for Load operator
authorLin Ming <ming.m.lin@intel.com>
Thu, 10 Apr 2008 15:06:42 +0000 (19:06 +0400)
committerLen Brown <len.brown@intel.com>
Tue, 22 Apr 2008 18:29:29 +0000 (14:29 -0400)
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>
drivers/acpi/tables/tbinstal.c

index 6a6ee1f06c764527849310452b3bff887e84ab97..c4a9abb072c03f9e3d1a50939334850559b34c4b 100644 (file)
@@ -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;
        }