]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
ACPI error spam fixup, fwd from Daniel Drake
authorChris Wright <chrisw@sous-sol.org>
Thu, 6 Jul 2006 19:34:39 +0000 (12:34 -0700)
committerChris Wright <chrisw@sous-sol.org>
Thu, 6 Jul 2006 19:34:39 +0000 (12:34 -0700)
queue-2.6.17/reduce-acpi-verbosity-on-null-handle-condition.patch [new file with mode: 0644]
queue-2.6.17/series

diff --git a/queue-2.6.17/reduce-acpi-verbosity-on-null-handle-condition.patch b/queue-2.6.17/reduce-acpi-verbosity-on-null-handle-condition.patch
new file mode 100644 (file)
index 0000000..9817f24
--- /dev/null
@@ -0,0 +1,39 @@
+From stable-bounces@linux.kernel.org  Sun Jul  2 03:49:42 2006
+Date: Sun, 02 Jul 2006 11:53:01 +0100
+From: Daniel Drake <dsd@gentoo.org>
+To: stable@kernel.org
+Cc: len.brown@intel.com, robert.moore@intel.com
+Subject: [stable] [PATCH] Reduce ACPI verbosity on null handle condition
+
+From: Bob Moore <robert.moore@intel.com>
+
+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: Chris Wright <chrisw@sous-sol.org>
+---
+ drivers/acpi/namespace/nsxfeval.c |    5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+--- linux-2.6.17.3.orig/drivers/acpi/namespace/nsxfeval.c
++++ linux-2.6.17.3/drivers/acpi/namespace/nsxfeval.c
+@@ -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;
index 127cabb470f7dbc62e6b40d4db202fc07d17a8e6..8d6a2346f25be1d915cb41f5e6f944f15bb86405 100644 (file)
@@ -7,3 +7,4 @@ dvb-fix-budget-av-frontend-detection.patch
 dvb-fix-ci-on-old-knc1-dvbc-cards.patch
 dvb-fix-ci-interface-on-pro-knc1-cards.patch
 pnp-suppress-request_irq-warning.patch
+reduce-acpi-verbosity-on-null-handle-condition.patch