aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorOkash Khawaja <[email protected]>2017-05-31 20:50:12 +0100
committerGreg Kroah-Hartman <[email protected]>2017-06-03 17:38:25 +0900
commit011cca558b6256ff14464e61c111707415a0484f (patch)
tree39ab7695404e4ad40653b348426c0f939c470bc2 /tools/perf/scripts/python/stackcollapse.py
parentd0b112ac2ae3738a9f1a86f97dc5fbd23be7e123 (diff)
staging: speakup: check for null before calling TTY's flush_buffer
We should check the flush_buffer method of a tty for null before invoking it. Some drivers such as usbserial don't implement flush_buffer. This will be required for upcoming patches where we expand spk_ttyio to support more than just ttyS*. Signed-off-by: Okash Khawaja <[email protected]> Reviewed-by: Samuel Thibault <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions