From: Corbin Atkinson Date: Fri, 4 May 2012 17:35:10 +0000 (-0500) Subject: serial_core: Update buffer overrun statistics. X-Git-Tag: v3.5-rc1~146^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=642180871bc91afebb6ccf40d1615a7dd33699a3;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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed