+ tty-fix-tcsbrk-comment.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     tty: fix TCSBRK comment

has been added to the -mm tree.  Its filename is

     tty-fix-tcsbrk-comment.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: tty: fix TCSBRK comment
From: Paul Fulghum <paulkf@xxxxxxxxxxxxx>


Fix TCSBRK comment to prevent confusion or accidental removal.

Signed-off-by: Paul Fulghum <paulkf@xxxxxxxxxxxxx>
Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/char/tty_io.c |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff -puN drivers/char/tty_io.c~tty-fix-tcsbrk-comment drivers/char/tty_io.c
--- a/drivers/char/tty_io.c~tty-fix-tcsbrk-comment
+++ a/drivers/char/tty_io.c
@@ -2617,10 +2617,9 @@ int tty_ioctl(struct inode * inode, stru
 			tty->driver->break_ctl(tty, 0);
 			return 0;
 		case TCSBRK:   /* SVID version: non-zero arg --> no break */
-			/*
-			 * XXX is the above comment correct, or the
-			 * code below correct?  Is this ioctl used at
-			 * all by anyone?
+			/* non-zero arg means wait for all output data
+			 * to be sent (performed above) but don't send break.
+			 * This is used by the tcdrain() termios function.
 			 */
 			if (!arg)
 				return send_break(tty, 250);
_

Patches currently in -mm which might be from paulkf@xxxxxxxxxxxxx are

origin.patch
remove-dead-entry-in-net-wan-kconfig.patch
remove-tty_dont_flip.patch
add-receive_room-flow-control-to-flush_to_ldisc.patch
add-receive_room-flow-control-to-flush_to_ldisc-tidy.patch
tty-fix-tcsbrk-comment.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux