From: Corbin Date: Wed, 23 May 2012 14:37:31 +0000 (-0500) Subject: serial_core: Update buffer overrun statistics. X-Git-Tag: v3.6-rc1~71^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24a7d449b066bdba8b8b2486dc481f02043e0656;p=pandora-kernel.git 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 Cc: Jiri Slaby Cc: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed