public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alon Bar-Lev <alon.barlev@gmail.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Serial driver (serial_core.c) status messages should be set to KERN_INFO
Date: Fri, 02 Sep 2005 00:26:59 +0300	[thread overview]
Message-ID: <43177223.8030403@gmail.com> (raw)

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);

         printk(" at ");
         switch (port->iotype) {
         case UPIO_PORT:
                 printk("I/O 0x%x", port->iobase);
                 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));
 }


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

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-01 21:26 Alon Bar-Lev [this message]
2005-09-01 20:38 ` Serial driver (serial_core.c) status messages should be set to KERN_INFO Jiri Slaby
2005-09-01 20:46   ` Ben Dooks
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=43177223.8030403@gmail.com \
    --to=alon.barlev@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