Skip to content
Commit 64218087 authored by Corbin Atkinson's avatar Corbin Atkinson Committed by Greg Kroah-Hartman
Browse files

serial_core: Update buffer overrun statistics.



Currently, serial drivers don't report buffer overruns. When a buffer overrun
occurs, tty_insert_flip_char returns 0, and no attempt is made to insert that
same character again (i.e. it is lost). This patch reports buffer overruns via
the buf_overrun field in the port's icount structure.

Signed-off-by: default avatarCorbin Atkinson <corbin.atkinson@ni.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b1d679af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment