aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorOliver Neukum <[email protected]>2016-04-04 14:30:53 +0200
committerGreg Kroah-Hartman <[email protected]>2016-04-13 11:53:07 -0700
commit2a14759a03a0a57b2fc99b1e416180788b8ba24c (patch)
tree0c7ddf79ac0ecf03dfd6ba25f8549dbf64fac276 /tools/perf/util/trace-event-scripting.c
parentbf16200689118d19de1b8d2a3c314fc21f5dc7bb (diff)
cdc-acm: fix crash if flushed with nothing buffered
Under some circumstances acm_tty_flush_chars() is called with no buffer to flush. We simply need to do nothing. Signed-off-by: Oliver Neukum <[email protected]> Reported-by: Torsten Hilbrich <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions