Messages in this thread Patch in this message | | | Date | Thu, 13 Apr 2006 22:59:07 +0900 (JST) | Subject | [PATCH-2.6.17-rc1-mm2] m32r: Remove a warning of m32r_sio.c | From | Hirokazu Takata <> |
| |
Here is a patch to fix the following warning. This patch is against 2.6.17-rc1-mm2. Please apply. -- CC drivers/serial/m32r_sio.o /project/m32r-linux/kernel/linux-2.6.17-rc1-mm2/linux-2.6.17-rc1-mm2/drivers/serial/m32r_sio.c: In function 'm32r_sio_console_write': /project/m32r-linux/kernel/linux-2.6.17-rc1-mm2/linux-2.6.17-rc1-mm2/drivers/serial/m32r_sio.c:1060: warning: unused variable 'i'
> [SERIAL] kernel console should send CRLF not LFCR > author Russell King <rmk@dyn-67.arm.linux.org.uk> http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=blobdiff;h=876bc5e027bb3592e38d9323c4e8c3085f642142;hp=242a04104393e1e25e5462f23110830ba587c798;hb=d358788f3f30113e49882187d794832905e42592;f=drivers/serial/m32r_sio.c
Thanks,
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Cc: Russell King <rmk@dyn-67.arm.linux.org.uk> ---
drivers/serial/m32r_sio.c | 1 - 1 file changed, 1 deletion(-)
Index: linux-2.6.17-rc1-mm2/drivers/serial/m32r_sio.c =================================================================== --- linux-2.6.17-rc1-mm2.orig/drivers/serial/m32r_sio.c 2006-04-10 13:59:03.000000000 +0900 +++ linux-2.6.17-rc1-mm2/drivers/serial/m32r_sio.c 2006-04-10 13:59:51.802691874 +0900 @@ -1057,7 +1057,6 @@ static void m32r_sio_console_write(struc { struct uart_sio_port *up = &m32r_sio_ports[co->index]; unsigned int ier; - int i; /* * First save the UER then disable the interrupts -- Hirokazu Takata <takata@linux-m32r.org> Linux/M32R Project: http://www.linux-m32r.org/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |