From e0db5a7a29754bc82ecc4212d3c5e31767245d95 Mon Sep 17 00:00:00 2001 From: kyle Date: Thu, 25 Nov 2010 11:34:29 -0500 Subject: [PATCH] oops, it's ->ops->name --- debug-tty-print-dev-name.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug-tty-print-dev-name.patch b/debug-tty-print-dev-name.patch index 4b0b06633..507dfe5f1 100644 --- a/debug-tty-print-dev-name.patch +++ b/debug-tty-print-dev-name.patch @@ -9,7 +9,7 @@ index 613c852..09c86d2 100644 - 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 ldisc=%s\n", -+ __func__, tty->name, tty->ldisc ? tty->ldisc->name : NULL); ++ __func__, tty->name, tty->ldisc ? tty->ldisc->ops ? tty->ldisc->ops->name : NULL : NULL); + WARN_ON(1); + } mutex_unlock(&tty->ldisc_mutex);