oops, it's ->ops->name

This commit is contained in:
kyle 2010-11-25 11:34:29 -05:00
parent 275037eacd
commit e0db5a7a29
1 changed files with 1 additions and 1 deletions

View File

@ -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);