OSDN Git Service

tty: fix tty_ldisc_receive_buf() documentation
authorJohan Hovold <johan@kernel.org>
Fri, 3 Nov 2017 14:18:05 +0000 (15:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 Nov 2017 11:08:53 +0000 (12:08 +0100)
commite7e51dcf3b8a5f65c5653a054ad57eb2492a90d0
tree41f98d08b5d54157cefb829998233177da74eae7
parent026cb4329df6169eb820815d220a391d97550cc5
tty: fix tty_ldisc_receive_buf() documentation

The tty_ldisc_receive_buf() helper returns the number of bytes
processed so drop the bogus "not" from the kernel doc comment.

Fixes: 8d082cd300ab ("tty: Unify receive_buf() code paths")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_buffer.c