Messages in this thread Patch in this message | | | Date | Sat, 18 Feb 2006 20:09:10 -0500 | From | Dave Jones <> | Subject | don't bother users with unimportant messages. |
| |
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); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |