On Fri, Feb 01, 2019 at 10:28:43AM +0100, Johan Hovold wrote: > On Thu, Jan 31, 2019 at 04:23:59PM -0700, Shuah Khan wrote: > > tty_set_termios() has the following WARN_ON which can be triggered with a > > syscall to invoke TIOCSETD __NR_ioctl. > > That's the only way to set the hci line discipline. And it's the > consequent ioctl that sets the uart protocol that triggers the warning, I meant *subsequent* ioctl, of course. > but only if the tty is a pty master, as I mentioned before. Johan