summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mcmartin.ca>2010-11-25 10:02:15 -0500
committerKyle McMartin <kyle@mcmartin.ca>2010-11-25 10:02:26 -0500
commit275037eacd0253b6949f1a389a671d0c2af04179 (patch)
tree2ac38860cb7961e2af6c03ae72c63576308f8c2d
parenta92338bddd9e14352f0f00a5addf242e1a1c54cf (diff)
downloadkernel-275037eacd0253b6949f1a389a671d0c2af04179.tar.gz
kernel-275037eacd0253b6949f1a389a671d0c2af04179.tar.xz
kernel-275037eacd0253b6949f1a389a671d0c2af04179.zip
and your little ldisc too
-rw-r--r--debug-tty-print-dev-name.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug-tty-print-dev-name.patch b/debug-tty-print-dev-name.patch
index 7b2e036a0..4b0b06633 100644
--- a/debug-tty-print-dev-name.patch
+++ b/debug-tty-print-dev-name.patch
@@ -8,8 +8,8 @@ index 613c852..09c86d2 100644
mutex_lock(&tty->ldisc_mutex);
- WARN_ON(!test_bit(TTY_LDISC, &tty->flags));
+ if (!test_bit(TTY_LDISC, &tty->flags)) {
-+ printk("%s: !test_bit(TTY_LDISC, &tty->flags) dev=%s\n",
-+ __func__, tty->name);
++ printk("%s: !test_bit(TTY_LDISC, &tty->flags) dev=%s ldisc=%s\n",
++ __func__, tty->name, tty->ldisc ? tty->ldisc->name : NULL);
+ WARN_ON(1);
+ }
mutex_unlock(&tty->ldisc_mutex);