diff options
author | Corbin <[email protected]> | 2012-05-23 09:37:31 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2012-07-26 13:37:02 -0700 |
commit | 24a7d449b066bdba8b8b2486dc481f02043e0656 (patch) | |
tree | b7713aeb9e733559b4349f2cbad259fbdd4b9407 /lib/mpi/mpi-bit.c | |
parent | 10e7d0980fd40cbbdaa57349dfbabf78f7e1b5d5 (diff) |
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@xxxxxx>
Cc: Jiri Slaby <[email protected]>
Cc: Alan Cox <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions