mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: Linux Kernel list <linux-kernel@vger.kernel.org>
Cc: rtc-linux@googlegroups.com
Subject: [patch 2.6.21-rc2-git] reduce rtc syslog spam
Date: Tue, 6 Mar 2007 11:35:23 -0800	[thread overview]
Message-ID: <200703061135.24429.david-b@pacbell.net> (raw)

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@users.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;

                 reply	other threads:[~2007-03-06 20:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200703061135.24429.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rtc-linux@googlegroups.com \
    /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

all inboxes | Powered by JetHome®