]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Reduce ACPI verbosity on null handle condition
authorBob Moore <robert.moore@intel.com>
Wed, 15 Nov 2006 15:20:37 +0000 (16:20 +0100)
committerAdrian Bunk <bunk@stusta.de>
Wed, 15 Nov 2006 15:20:37 +0000 (16:20 +0100)
As detailed at http://bugs.gentoo.org/131534 :

2.6.16 converted many ACPI debug messages into error or warning
messages. One extraneous message was incorrectly converted, resulting in
logs being flooded by "Handle is NULL and Pathname is relative" messages
on some systems.

This patch (part of a larger ACPICA commit) converts the message back to
debug level.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/acpi/namespace/nsxfeval.c

index a95f636dc35d454e16865732cff8e4c57ab3731f..d7791fbc7f37e41b8b3bec1ae95c546556a728f8 100644 (file)
@@ -238,8 +238,9 @@ acpi_evaluate_object(acpi_handle handle,
                        ACPI_ERROR((AE_INFO,
                                    "Both Handle and Pathname are NULL"));
                } else {
-                       ACPI_ERROR((AE_INFO,
-                                   "Handle is NULL and Pathname is relative"));
+                       ACPI_DEBUG_PRINT((ACPI_DB_INFO,
+                                         "Null Handle with relative pathname [%s]",
+                                         pathname));
                }
 
                status = AE_BAD_PARAMETER;