From a5db482640c7b926357cf984701caafa8e0f8843 Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Sat, 29 Dec 2018 13:48:29 +0100 Subject: [PATCH] n_tty: update comment for WAKEUP_CHARS define Give a better descriptions of what WAKEUP_CHARS represents. Signed-off-by: Valentin Vidic Acked-by: Jiri Slaby Signed-off-by: Greg Kroah-Hartman --- drivers/tty/n_tty.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c index 5dc9686..9cdb0fa 100644 --- a/drivers/tty/n_tty.c +++ b/drivers/tty/n_tty.c @@ -50,8 +50,10 @@ #include #include - -/* number of characters left in xmit buffer before select has we have room */ +/* + * Until this number of characters is queued in the xmit buffer, select will + * return "we have room for writes". + */ #define WAKEUP_CHARS 256 /* -- 2.7.4