don't bother users with unimportant messages.

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

 



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 <[email protected]>

--- 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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux