aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorIlpo Järvinen <[email protected]>2022-05-19 11:18:06 +0300
committerGreg Kroah-Hartman <[email protected]>2022-05-19 18:32:40 +0200
commit52bb1cb7118564166b04d52387bd8403632f5190 (patch)
tree66190e6b63c3eae94a6c1ac6298bdf4034d07511 /tools/perf/scripts/python/stackcollapse.py
parentc069d2756c01ed36121fae6a42c14fdf1325c71d (diff)
serial: st-asc: Sanitize CSIZE and correct PARENB for CS7
Only CS7 and CS8 seem supported but CSIZE is not sanitized from CS5 or CS6 to CS8. In addition, ASC_CTL_MODE_7BIT_PAR suggests that CS7 has to have parity, thus add PARENB. Incorrect CSIZE results in miscalculation of the frame bits in tty_get_char_size() or in its predecessor where the roughly the same code is directly within uart_update_timeout(). Fixes: c4b058560762 (serial:st-asc: Add ST ASC driver.) Cc: Srinivas Kandagatla <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]> Link: https://lore.kernel.org/r/[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