public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kernel spams syslog every 10 sec with w1 debug
@ 2005-08-12 15:07 Olaf Hering
  2005-08-12 15:37 ` Evgeniy Polyakov
  0 siblings, 1 reply; 6+ messages in thread
From: Olaf Hering @ 2005-08-12 15:07 UTC (permalink / raw)
  To: linux-kernel, Andrew Morton, johnpol


Bug 104020 - kernel spams syslog every 10 sec with: w1_driver w1_bus_master1: No devices present on the wire.

After installing 10.0 B1, I found this in my syslog: 
Aug 10 23:40:06 linux kernel: w1_driver w1_bus_master1: No devices present on the wire. 
Aug 10 23:40:16 linux kernel: w1_driver w1_bus_master1: No devices present on the wire. 

Signed-off-by: Olaf Hering <olh@suse.de>

 drivers/w1/w1.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

Index: linux-2.6.13-rc6-aes/drivers/w1/w1.c
===================================================================
--- linux-2.6.13-rc6-aes.orig/drivers/w1/w1.c
+++ linux-2.6.13-rc6-aes/drivers/w1/w1.c
@@ -593,7 +593,8 @@ void w1_search(struct w1_master *dev, w1
 		 * Return 0 - device(s) present, 1 - no devices present.
 		 */
 		if (w1_reset_bus(dev)) {
-			dev_info(&dev->dev, "No devices present on the wire.\n");
+			if (printk_ratelimit())
+				dev_debug(&dev->dev, "No devices present on the wire.\n");
 			break;
 		}
 

^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <20050812150748.GA6774@suse.de.suse.lists.linux.kernel>]

end of thread, other threads:[~2005-08-24 21:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-12 15:07 [PATCH] kernel spams syslog every 10 sec with w1 debug Olaf Hering
2005-08-12 15:37 ` Evgeniy Polyakov
     [not found] <20050812150748.GA6774@suse.de.suse.lists.linux.kernel>
2005-08-12 15:38 ` Andi Kleen
2005-08-12 15:40   ` Olaf Hering
2005-08-12 16:00   ` Dave Jones
2005-08-24 21:28     ` Hans-Peter Jansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox