summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/8250
diff options
context:
space:
mode:
authorCorbin Atkinson <corbinat@gmail.com>2012-05-04 12:35:10 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-09 14:41:54 -0700
commit642180871bc91afebb6ccf40d1615a7dd33699a3 (patch)
tree10026174fd0c41dd5169160abfbf23928100a313 /drivers/tty/serial/8250
parentb1d679afd766cf425ba1cd2a0fd17451bd212f4a (diff)
downloadop-kernel-dev-642180871bc91afebb6ccf40d1615a7dd33699a3.zip
op-kernel-dev-642180871bc91afebb6ccf40d1615a7dd33699a3.tar.gz
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: Corbin Atkinson <corbin.atkinson@ni.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud