aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/tty_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/tty_buffer.c')
-rw-r--r--drivers/tty/tty_buffer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tty/tty_buffer.c b/drivers/tty/tty_buffer.c
index f8eba1c5412f..c996b6859c5e 100644
--- a/drivers/tty/tty_buffer.c
+++ b/drivers/tty/tty_buffer.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0
1/* 2/*
2 * Tty buffer allocation management 3 * Tty buffer allocation management
3 */ 4 */
@@ -446,7 +447,7 @@ EXPORT_SYMBOL_GPL(tty_prepare_flip_string);
446 * Callers other than flush_to_ldisc() need to exclude the kworker 447 * Callers other than flush_to_ldisc() need to exclude the kworker
447 * from concurrent use of the line discipline, see paste_selection(). 448 * from concurrent use of the line discipline, see paste_selection().
448 * 449 *
449 * Returns the number of bytes not processed 450 * Returns the number of bytes processed
450 */ 451 */
451int tty_ldisc_receive_buf(struct tty_ldisc *ld, const unsigned char *p, 452int tty_ldisc_receive_buf(struct tty_ldisc *ld, const unsigned char *p,
452 char *f, int count) 453 char *f, int count)