diff options
| author | Fabien Dessenne <[email protected]> | 2019-03-21 15:43:26 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-03-27 16:21:21 +0000 |
| commit | f4e68d58cf2b20a581759bbc7228052534652673 (patch) | |
| tree | 04a5dc64b3a11f9f1a5c594e3725e627b6513713 /tools/perf/scripts/python/sctop.py | |
| parent | Disable kgdboc failed by echo space to /sys/module/kgdboc/parameters/kgdboc (diff) | |
| download | kernel-f4e68d58cf2b20a581759bbc7228052534652673.tar.gz kernel-f4e68d58cf2b20a581759bbc7228052534652673.zip | |
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
