public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ben Dooks <ben@fluff.org.uk>
To: Jiri Slaby <jirislaby@gmail.com>
Cc: Alon Bar-Lev <alon.barlev@gmail.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Serial driver (serial_core.c) status messages should be set to KERN_INFO
Date: Thu, 1 Sep 2005 21:46:10 +0100	[thread overview]
Message-ID: <20050901204610.GA1816@home.fluff.org> (raw)
In-Reply-To: <431766C2.2020604@gmail.com>

On Thu, Sep 01, 2005 at 10:38:26PM +0200, Jiri Slaby wrote:
> Alon Bar-Lev napsal(a):
> 
> >Hello,
> >
> >
> >When upgrading to 2.6.13 I've noticed that serial driver reports it 
> >status with unknown severity, causing the boot-splash to be overridden.
> >
> >
> >Please consider this modification.
> >
> >
> >Best Regards,
> >
> >Alon Bar-Lev.
> >
> >
> >At drivers/serial/serial_core.c
> >
> >
> >static inline void
> >
> >uart_report_port(struct uart_driver *drv, struct uart_port *port)
> >{
> >-        printk("%s%d", drv->dev_name, port->line);
> >+      printk(KERN_INFO + "%s%d", drv->dev_name, port->line);
> 
> plus sign between that?
> 
> >
> >        printk(" at ");
> 
> why the fellows didn't put this to the line above?
> >        switch (port->iotype) {
> >        case UPIO_PORT:
> >                printk("I/O 0x%x", port->iobase);
> 
> And what about these?

looks like they're not on a newline, so need no severity.
 
> >                break;
> >        case UPIO_HUB6:
> >                printk("I/O 0x%x offset 0x%x", port->iobase, port->hub6);
> >                break;
> >        case UPIO_MEM:
> >        case UPIO_MEM32:
> >                printk("MMIO 0x%lx", port->mapbase);
> >                break;
> >        }
> >        printk(" (irq = %d) is a %s\n", port->irq, uart_type(port));
> >}

-- 
Ben (ben@fluff.org, http://www.fluff.org/)

  'a smiley only costs 4 bytes'

  reply	other threads:[~2005-09-01 20:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-01 21:26 Serial driver (serial_core.c) status messages should be set to KERN_INFO Alon Bar-Lev
2005-09-01 20:38 ` Jiri Slaby
2005-09-01 20:46   ` Ben Dooks [this message]
2005-09-01 21:04     ` Jiri Slaby
2005-09-01 21:38       ` Russell King
2005-09-01 21:49   ` Alon Bar-Lev
2005-09-02 15:21 ` Russell King

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=20050901204610.GA1816@home.fluff.org \
    --to=ben@fluff.org.uk \
    --cc=alon.barlev@gmail.com \
    --cc=jirislaby@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox