ACPI: Change package length error to warning
authorMing Ling <ming.m.lin@intel.com>
Mon, 18 Aug 2008 02:14:59 +0000 (04:14 +0200)
committerAndi Kleen <ak@linux.intel.com>
Mon, 18 Aug 2008 02:14:59 +0000 (04:14 +0200)
The condition is harmless and no need to scare the user

http://bugzilla.kernel.org/show_bug.cgi?id=11245

Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/acpi/dispatcher/dsobject.c

index 1022e38..0f28058 100644 (file)
@@ -496,7 +496,7 @@ acpi_ds_build_internal_package_obj(struct acpi_walk_state *walk_state,
                        arg = arg->common.next;
                }
 
-               ACPI_ERROR((AE_INFO,
+               ACPI_WARNING((AE_INFO,
                            "Package List length (%X) larger than NumElements count (%X), truncated\n",
                            i, element_count));
        } else if (i < element_count) {