]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
USB: keyspan: fix overrun-error reporting
authorJohan Hovold <johan@kernel.org>
Tue, 18 Nov 2014 10:25:20 +0000 (11:25 +0100)
committerJiri Slaby <jslaby@suse.cz>
Sat, 6 Dec 2014 14:18:15 +0000 (15:18 +0100)
commit7f293483b05b6f3472942b9c733daaf05ec2115e
tree67098b95c3d4c7ca973cda228beffc6d0ff017f2
parent6aac77da2f675a7b47ef4a48a0f58a3d3d2c0026
USB: keyspan: fix overrun-error reporting

commit 855515a6d3731242d85850a206f2ec084c917338 upstream.

Fix reporting of overrun errors, which are not associated with a
character. Instead insert a null character and report only once.

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/usb/serial/keyspan.c