summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorVincent Whitchurch <vincent.whitchurch@axis.com>2022-08-18 14:50:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-30 15:31:53 +0300
commit56c14fb4086b2de6921dd70251b19b364b909ea1 (patch)
tree796ed82646c2af26914f7027782cb3e2b02b0cdc /tools/perf/scripts/python/exported-sql-viewer.py
parent846651eca073e2e02e37490a4a52752415d84781 (diff)
downloadlinux-56c14fb4086b2de6921dd70251b19b364b909ea1.tar.xz
tty: Fix lookahead_buf crash with serdev
Do not follow a NULL pointer if the tty_port_client_operations does not implement the ->lookahead_buf() callback, which is the case with serdev's ttyport. Reported-by: Hans de Goede <hdegoede@redhat.com> Fixes: 6bb6fa6908ebd3 ("tty: Implement lookahead to process XON/XOFF timely") Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com> Link: https://lore.kernel.org/r/20220818115026.2237893-1-vincent.whitchurch@axis.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions