Silence "tty is NULL" trace.
This commit is contained in:
parent
2da82c8fb5
commit
1f0249effe
|
@ -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@redhat.com>
|
||||
- Silence "tty is NULL" trace.
|
||||
|
||||
* Fri Mar 01 2013 Josh Boyer <jwboyer@redhat.com>
|
||||
- Add patches to fix sunrpc panic (rhbz 904870)
|
||||
|
||||
|
|
|
@ -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);
|
Loading…
Reference in New Issue