[kernel/f18] Silence "tty is NULL" trace.
Dave Jones
davej at fedoraproject.org
Fri Mar 1 16:10:03 UTC 2013
commit 1f0249effe9a49bc2b1dc833d23e6eba5b04e02b
Author: Dave Jones <davej at redhat.com>
Date: Fri Mar 1 11:09:57 2013 -0500
Silence "tty is NULL" trace.
kernel.spec | 5 +++++
silence-tty-null.patch | 13 +++++++++++++
2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/kernel.spec b/kernel.spec
index 601b29d..31360c7 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -664,6 +664,7 @@ Patch510: silence-noise.patch
Patch520: quiet-apm.patch
Patch530: silence-fbcon-logo.patch
Patch540: silence-empty-ipi-mask-warning.patch
+Patch541: silence-tty-null.patch
Patch800: crash-driver.patch
@@ -1386,6 +1387,7 @@ ApplyPatch silence-fbcon-logo.patch
# no-one cares about these warnings.
ApplyPatch silence-empty-ipi-mask-warning.patch
+ApplyPatch silence-tty-null.patch
# Changes to upstream defaults.
@@ -2328,6 +2330,9 @@ fi
# ||----w |
# || ||
%changelog
+* Fri Mar 01 2013 Dave Jones <davej at redhat.com>
+- Silence "tty is NULL" trace.
+
* Fri Mar 01 2013 Josh Boyer <jwboyer at redhat.com>
- Add patches to fix sunrpc panic (rhbz 904870)
diff --git a/silence-tty-null.patch b/silence-tty-null.patch
new file mode 100644
index 0000000..00f6423
--- /dev/null
+++ b/silence-tty-null.patch
@@ -0,0 +1,13 @@
+This should be fixed in 3.9, but is unlikely to be backported.
+
+--- linux-3.8.1-201.fc18.x86_64/drivers/tty/tty_buffer.c~ 2013-03-01 11:07:37.498291384 -0500
++++ linux-3.8.1-201.fc18.x86_64/drivers/tty/tty_buffer.c 2013-03-01 11:08:11.088250537 -0500
+@@ -473,7 +473,7 @@ static void flush_to_ldisc(struct work_s
+ struct tty_ldisc *disc;
+
+ tty = port->itty;
+- if (WARN_RATELIMIT(tty == NULL, "tty is NULL\n"))
++ if (tty == NULL)
+ return;
+
+ disc = tty_ldisc_ref(tty);
More information about the scm-commits
mailing list