Linux kernel bug fix: Commit 9bb48c82aced ("tty: implement write_iter") converted the tty layer to use write_iter. Fix the redirected_tty_write declaration also in n_tty and change the comparisons to use write_iter instead of write.
Subsystem: tty (drivers/tty/tty_io.c)
Bug type: crash, severity: high
Files changed: drivers/tty/n_tty.c;drivers/tty/tty_io.c;include/linux/tty.h
Introduced by Linus Torvalds on 2021-01-20 16:48:47 -0800; fixed by Sami Tolvanen on 2021-01-25 12:08:07 -0800 (lifetime: 4 days)