All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: "Ondřej Pužman" <puzman@gmail.com>
Cc: linux-serial@vger.kernel.org
Subject: Re: Bug in 8250.c - uninitialized FIFOs
Date: Fri, 3 Dec 2010 10:45:36 -0800	[thread overview]
Message-ID: <20101203184536.GA17665@kroah.com> (raw)
In-Reply-To: <4CF92F40.5070004@gmail.com>

On Fri, Dec 03, 2010 at 06:56:16PM +0100, Ondřej Pužman wrote:
> Here is the patch to correct the bug created against 2.6.36.1:
> 
> diff -Naur a/drivers/serial/8250.c b/drivers/serial/8250.c
> --- a/drivers/serial/8250.c     2010-11-22 20:03:49.000000000 +0100
> +++ b/drivers/serial/8250.c     2010-12-03 18:32:54.000000000 +0100
> @@ -1952,6 +1952,8 @@
>        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;
> 
> 
> The patch should work on most 2.6.x kernels.
> I hope that someone will be able to put that in the official kernel tree.

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?

thanks,

greg k-h
--
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

  reply	other threads:[~2010-12-03 18:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-03 17:56 Bug in 8250.c - uninitialized FIFOs Ondřej Pužman
2010-12-03 18:45 ` Greg KH [this message]
2010-12-04 20:17   ` Ondrej Puzman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101203184536.GA17665@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-serial@vger.kernel.org \
    --cc=puzman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.