Re: [PATCH] Revert "tty: fix NULL pointer issue when tty_port ops is not set"

2019-04-03 Thread Johan Hovold
On Wed, Apr 03, 2019 at 10:06:49AM +0200, Greg Kroah-Hartman wrote: > On Wed, Apr 03, 2019 at 09:40:53AM +0200, Johan Hovold wrote: > > This reverts commit f4e68d58cf2b20a581759bbc7228052534652673. > > > > TTY drivers using the tty-port abstraction all provide a pointer to a > > set of port operat

Re: [PATCH] Revert "tty: fix NULL pointer issue when tty_port ops is not set"

2019-04-03 Thread Greg Kroah-Hartman
On Wed, Apr 03, 2019 at 09:40:53AM +0200, Johan Hovold wrote: > This reverts commit f4e68d58cf2b20a581759bbc7228052534652673. > > TTY drivers using the tty-port abstraction all provide a pointer to a > set of port operations, which specifically cannot be NULL (or we'd find > out at first attempt t

[PATCH] Revert "tty: fix NULL pointer issue when tty_port ops is not set"

2019-04-03 Thread Johan Hovold
This reverts commit f4e68d58cf2b20a581759bbc7228052534652673. TTY drivers using the tty-port abstraction all provide a pointer to a set of port operations, which specifically cannot be NULL (or we'd find out at first attempt to open a port). Revert the recent commit which added unnecessary NULL-c