n_tty: update comment for WAKEUP_CHARS define
authorValentin Vidic <Valentin.Vidic@CARNet.hr>
Sat, 29 Dec 2018 12:48:29 +0000 (13:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jan 2019 12:25:11 +0000 (13:25 +0100)
Give a better descriptions of what WAKEUP_CHARS represents.

Signed-off-by: Valentin Vidic <Valentin.Vidic@CARNet.hr>
Acked-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c

index 5dc9686697cfa4c80e5c6e3995f7ef74ad1f583d..9cdb0fa3c4bf97c6a658a35e5ae3c1fd9784d3f7 100644 (file)
 #include <linux/ratelimit.h>
 #include <linux/vmalloc.h>
 
-
-/* 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
 
 /*