initialize "wait" in tty0tty struct solve the problem.

add in line 112:
init_waitqueue_head(&tty0tty->wait);

Will be corrected in next version.

  • status: pending --> closed