commit | 2a182fab738ef7882ddaa34deeed1a2ae8ab6701 | [log] [tgz] |
---|---|---|
author | Mark Ferrell <mferrell@uplogix.com> | Tue Jul 24 14:15:13 2012 -0500 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:15:59 2020 +0200 |
tree | 0004aaa03ec05277543a6258a71f565571c352f6 | |
parent | 2ecf67fe89c2a43877c46a5ea4d795a0a30a3640 [diff] |
usb: serial: mos7840: Fixup mos7840_chars_in_buffer() commit 5c263b92f828af6a8cf54041db45ceae5af8f2ab upstream. * Use the buffer content length as opposed to the total buffer size. This can be a real problem when using the mos7840 as a usb serial-console as all kernel output is truncated during boot. Signed-off-by: Mark Ferrell <mferrell@uplogix.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>