oops, it's ->ops->name
This commit is contained in:
parent
275037eacd
commit
e0db5a7a29
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user