[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200703061135.24429.david-b@pacbell.net>
Date: Tue, 6 Mar 2007 11:35:23 -0800
From: David Brownell <david-b@...bell.net>
To: Linux Kernel list <linux-kernel@...r.kernel.org>
Cc: rtc-linux@...glegroups.com
Subject: [patch 2.6.21-rc2-git] reduce rtc syslog spam
Make the RTC core less noisy. On fault paths this message is confusing;
and on success, a message from the driver itself should be much more
informative (displaying chip type, options, etc).
Signed-off-by: David Brownell <dbrownell@...rs.sourceforge.net>
---
It would be nice if this cleanup went into 2.6.21, to reduce that
confusion. Previous patches cleaned up the per-interface debug
messages, but neglected this one.
Index: linux-2.6/drivers/rtc/class.c
===================================================================
--- linux-2.6.orig/drivers/rtc/class.c 2007-03-01 17:12:41.000000000 -0800
+++ linux-2.6/drivers/rtc/class.c 2007-03-06 04:06:54.000000000 -0800
@@ -85,7 +85,7 @@ struct rtc_device *rtc_device_register(c
if (err)
goto exit_kfree;
- dev_info(dev, "rtc core: registered %s as %s\n",
+ dev_dbg(dev, "rtc core: registered %s as %s\n",
rtc->name, rtc->class_dev.class_id);
return rtc;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists