tty: WARN for attempted set_termios() of pty master
authorPeter Hurley <[email protected]>
Thu, 16 Oct 2014 19:33:22 +0000 (15:33 -0400)
committerGreg Kroah-Hartman <[email protected]>
Thu, 6 Nov 2014 00:34:36 +0000 (16:34 -0800)
commit6460fbbf476ad8d4f4196534c00019975b33e1db
treee3bc22df1f753a369bb23ecd4a308e605ee92d30
parenta361858da327263e04dc521ca39091d3119ccff8
tty: WARN for attempted set_termios() of pty master

The pty master's termios should never be set; currently, all code
paths which call the driver's set_termios() method ensure that the
pty slave's termios is being set.

Signed-off-by: Peter Hurley <[email protected]>
Reviewed-by: Alan Cox <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/tty/pty.c
drivers/tty/tty_ioctl.c