[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-serial
Subject:    Re: Bug in 8250.c - uninitialized FIFOs
From:       Ondrej Puzman <puzman () gmail ! com>
Date:       2010-12-04 20:17:38
Message-ID: 20101204201738.GD30648 () postman ! amit ! cz
[Download RAW message or body]

On Fri, Dec 03, 2010 at 10:45:36AM -0800, Greg KH wrote: 
> I would like to include it, but I need it in a form I can apply it in.
> Your email client turned the tabs to spaces, and I need a
> "Signed-off-by:" line in order to be able to apply it.  Take a look at
> the file, Documentation/SubmittingPatches for details about this.
> 
> Care to fix this and resend it so I can apply it?
> 

Ok, here is a new attempt with another email client. I hope that the message
format will be ok now.

Ondrej

Signed-off-by: Ondrej Puzman <puzman@gmail.com>

--- ./drivers/serial/8250.c.orig	2010-11-22 20:03:49.000000000 +0100
+++ ./drivers/serial/8250.c	2010-12-03 18:42:22.000000000 +0100
@@ -1952,6 +1952,8 @@ static int serial8250_startup(struct uar
 	unsigned char lsr, iir;
 	int retval;
 
+	up->port.fifosize = uart_config[up->port.type].fifo_size;
+	up->tx_loadsz = uart_config[up->port.type].tx_loadsz;
 	up->capabilities = uart_config[up->port.type].flags;
 	up->mcr = 0;
 
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic