diff options
author | kyle <kyle@mcmartin.ca> | 2010-11-25 11:34:29 -0500 |
---|---|---|
committer | kyle <kyle@mcmartin.ca> | 2010-11-25 11:34:29 -0500 |
commit | e0db5a7a29754bc82ecc4212d3c5e31767245d95 (patch) | |
tree | 489e0282604dc85de71d497b98b7bb81bbea0422 | |
parent | 275037eacd0253b6949f1a389a671d0c2af04179 (diff) | |
download | kernel-e0db5a7a29754bc82ecc4212d3c5e31767245d95.tar.gz kernel-e0db5a7a29754bc82ecc4212d3c5e31767245d95.tar.xz kernel-e0db5a7a29754bc82ecc4212d3c5e31767245d95.zip |
oops, it's ->ops->name
-rw-r--r-- | debug-tty-print-dev-name.patch | 2 |
1 files changed, 1 insertions, 1 deletions
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); |