- x86-early_print-kernel-console-should-send-crlf-not-lfcr.patch removed from -mm tree

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

 



The patch titled
     x86: early_print kernel console should send CRLF not LFCR
has been removed from the -mm tree.  Its filename was
     x86-early_print-kernel-console-should-send-crlf-not-lfcr.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: x86: early_print kernel console should send CRLF not LFCR
From: Yinghai Lu <Yinghai.Lu@xxxxxxx>

In
	commit d358788f3f30113e49882187d794832905e42592
	Author: Russell King <rmk@xxxxxxxxxxxxxxxxxxxxxxx>
	Date:   Mon Mar 20 20:00:09 2006 +0000

        Glen Turner reported that writing LFCR rather than the more
        traditional CRLF causes issues with some terminals.

        Since this aflicts many serial drivers, extract the common
        code to a library function (uart_console_write) and arrange for each
        driver to supply a "putchar" function.

but early_printk is left out.

Signed-off-by: Yinghai Lu <yinghai.lu@xxxxxxx>
Cc: Andi Kleen <ak@xxxxxxx>
Cc: Russell King <rmk@xxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/x86_64/kernel/early_printk.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/x86_64/kernel/early_printk.c~x86-early_print-kernel-console-should-send-crlf-not-lfcr arch/x86_64/kernel/early_printk.c
--- a/arch/x86_64/kernel/early_printk.c~x86-early_print-kernel-console-should-send-crlf-not-lfcr
+++ a/arch/x86_64/kernel/early_printk.c
@@ -91,9 +91,9 @@ static int early_serial_putc(unsigned ch
 static void early_serial_write(struct console *con, const char *s, unsigned n)
 {
 	while (*s && n-- > 0) {
-		early_serial_putc(*s);
 		if (*s == '\n')
 			early_serial_putc('\r');
+		early_serial_putc(*s);
 		s++;
 	}
 }
_

Patches currently in -mm which might be from Yinghai.Lu@xxxxxxx are

origin.patch
serial-set-dtr-in-uart-for-kernel-serial-console.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