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 <[email protected]>
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 <[email protected]>
Cc: Russell King <[email protected]>
---
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 <[email protected]>
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]