]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
tty: fix chars_in_buffers
authorAlan Cox <alan@linux.intel.com>
Mon, 20 Jul 2009 15:05:27 +0000 (16:05 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Jul 2009 23:38:43 +0000 (16:38 -0700)
commit23198fda7182969b619613a555f8645fdc3dc334
treed6c322a36d955958ab89ffb0a1a7327dc84e180c
parent254702568da63ce6f5ad68e77d83b427da693654
tty: fix chars_in_buffers

This function does not have an error return and returning an error is
instead interpreted as having a lot of pending bytes.

Reported by Jeff Harris who provided a list of some of the remaining
offenders.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/hvc_console.c
drivers/char/nozomi.c
drivers/char/pcmcia/ipwireless/tty.c
drivers/isdn/gigaset/interface.c
drivers/usb/class/cdc-acm.c
drivers/usb/serial/mos7720.c
drivers/usb/serial/ti_usb_3410_5052.c