Fabien Dessenne f4e68d58cf tty: fix NULL pointer issue when tty_port ops is not set
Unlike 'client_ops' which is initialized to 'default_client_ops', the
port operations 'ops' may be left to NULL.
Check the 'ops' value before checking the 'ops->x' value.

Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-28 01:21:21 +09:00
..
2018-10-13 00:50:53 -04:00
2018-10-13 00:50:31 -04:00
2018-10-13 00:50:32 -04:00
2017-11-28 15:32:33 +01:00
2018-10-13 00:50:32 -04:00
2017-11-08 13:08:12 +01:00
2018-10-13 00:50:51 -04:00
2019-02-12 08:51:33 +01:00
2019-01-22 13:46:53 +01:00