linux/drivers/tty/vt
Felipe Balbi b1c43f82c5 tty: make receive_buf() return the amout of bytes received
it makes it simpler to keep track of the amount of
bytes received and simplifies how flush_to_ldisc counts
the remaining bytes. It also fixes a bug of lost bytes
on n_tty when flushing too many bytes via the USB
serial gadget driver.

Tested-by: Stefan Bigler <stefan.bigler@keymile.com>
Tested-by: Toby Gray <toby.gray@realvnc.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-04-22 17:31:53 -07:00
..
.gitignore
consolemap.c
cp437.uni
defkeymap.c_shipped
defkeymap.map
keyboard.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
Makefile
selection.c tty: make receive_buf() return the amout of bytes received 2011-04-22 17:31:53 -07:00
vc_screen.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
vt_ioctl.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
vt.c tty: Clean console safely 2011-04-19 16:33:37 -07:00