aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/nspredef.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-12-11 02:23:22 -0500
committerLen Brown <len.brown@intel.com>2009-12-15 17:29:36 -0500
commit3a58176e4fa47d8232e04131b023f3f2ecd7084b (patch)
treeee064fd4d8bcc7ba16926241262cec6b74caec03 /drivers/acpi/acpica/nspredef.c
parentea7c5ec148044776d5e134e52a3e1aca8d662dbe (diff)
ACPICA: Remove messages if predefined repair(s) are successful
Repair mechanism was considered too wordy. Now, messages are only unconditionally emitted if the return object cannot be repaired. Existing messages for successful repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 827. http://www.acpica.org/bugzilla/show_bug.cgi?id=827 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/acpi/acpica/nspredef.c')
-rw-r--r--drivers/acpi/acpica/nspredef.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/acpi/acpica/nspredef.c b/drivers/acpi/acpica/nspredef.c
index c6297f57fea8..e352467413f5 100644
--- a/drivers/acpi/acpica/nspredef.c
+++ b/drivers/acpi/acpica/nspredef.c
@@ -462,11 +462,11 @@ acpi_ns_check_package(struct acpi_predefined_data *data,
462 if (count < expected_count) { 462 if (count < expected_count) {
463 goto package_too_small; 463 goto package_too_small;
464 } else if (count > expected_count) { 464 } else if (count > expected_count) {
465 ACPI_WARN_PREDEFINED((AE_INFO, data->pathname, 465 ACPI_DEBUG_PRINT((ACPI_DB_REPAIR,
466 data->node_flags, 466 "%s: Return Package is larger than needed - "
467 "Return Package is larger than needed - " 467 "found %u, expected %u\n",
468 "found %u, expected %u", count, 468 data->pathname, count,
469 expected_count)); 469 expected_count));
470 } 470 }
471 471
472 /* Validate all elements of the returned package */ 472 /* Validate all elements of the returned package */