Re: Bug in 8250.c - uninitialized FIFOs

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

 



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@xxxxxxxxx>

--- ./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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux