From: Dave Jones <davej@redhat.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: don't bother users with unimportant messages.
Date: Sat, 18 Feb 2006 20:09:10 -0500 [thread overview]
Message-ID: <20060219010910.GA18841@redhat.com> (raw)
When users see these printed to the console, they think
something is wrong. As it's just informational and something
that only developers care about, lower the printk level.
Signed-off-by: Dave Jones <davej@redhat.com>
--- linux-2.6.15.noarch/drivers/base/driver.c~ 2006-02-18 19:52:36.000000000 -0500
+++ linux-2.6.15.noarch/drivers/base/driver.c 2006-02-18 20:07:51.000000000 -0500
@@ -174,7 +174,7 @@ int driver_register(struct device_driver
if ((drv->bus->probe && drv->probe) ||
(drv->bus->remove && drv->remove) ||
(drv->bus->shutdown && drv->shutdown)) {
- printk(KERN_WARNING "Driver '%s' needs updating - please use bus_type methods\n", drv->name);
+ printk(KERN_DEBUG "Driver '%s' needs updating - please use bus_type methods\n", drv->name);
}
klist_init(&drv->klist_devices, klist_devices_get, klist_devices_put);
init_completion(&drv->unloaded);
next reply other threads:[~2006-02-19 1:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-19 1:09 Dave Jones [this message]
2006-02-19 1:17 ` don't bother users with unimportant messages David S. Miller
2006-02-19 8:15 ` Russell King
2006-02-19 8:29 ` Dave Jones
2006-02-19 9:31 ` Russell King
2006-02-19 9:47 ` Dave Jones
2006-02-19 17:57 ` Greg KH
2006-02-19 18:37 ` Dave Jones
2006-02-19 22:41 ` Greg KH
2006-02-19 20:36 ` Gene Heskett
2006-02-19 20:34 ` Gene Heskett
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=20060219010910.GA18841@redhat.com \
--to=davej@redhat.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 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.