Re: 2.6.26-rc5: CFI: Found no ck804xrom @ffc00000 device at location zero

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jean Delvare
Date: Thursday, June 12, 2008 - 1:25 pm

Hi John,

On Thu, 12 Jun 2008 14:34:36 -0400, John Stoffel wrote:

Definitely not related to i2c.

Apparently the messages are coming from drivers/mtd/chips/gen_probe.c.
So I doubt it is related to networking either...

They are debugging messages, but printk(KERN_DEBUG ...) is used where
pr_debug(...) should be. The following (untested) patch should fix it:

Subject: [MTD] No debug message when debugging is disabled

Use pr_debug(...) instead of printk(KERN_DEBUG ...) so that the message
is only printed when debugging is enabled.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
---
 drivers/mtd/chips/gen_probe.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.26-rc5.orig/drivers/mtd/chips/gen_probe.c	2008-04-17 04:49:44.000000000 +0200
+++ linux-2.6.26-rc5/drivers/mtd/chips/gen_probe.c	2008-06-12 22:20:12.000000000 +0200
@@ -71,8 +71,8 @@ static struct cfi_private *genprobe_iden
 	   interleave and device type, etc. */
 	if (!genprobe_new_chip(map, cp, &cfi)) {
 		/* The probe didn't like it */
-		printk(KERN_DEBUG "%s: Found no %s device at location zero\n",
-		       cp->name, map->name);
+		pr_debug("%s: Found no %s device at location zero\n",
+			 cp->name, map->name);
 		return NULL;
 	}
 


-- 
Jean Delvare
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] HP iLO driver, David Altobelli, (Thu Jun 12, 11:23 am)
Re: [PATCH] HP iLO driver, H. Peter Anvin, (Thu Jun 12, 11:37 am)
Re: [PATCH] HP iLO driver, Heikki Orsila, (Thu Jun 12, 12:04 pm)
RE: [PATCH] HP iLO driver, Altobelli, David, (Thu Jun 12, 12:37 pm)
Re: [PATCH] HP iLO driver, Marcel Holtmann, (Thu Jun 12, 1:13 pm)
RE: [PATCH] HP iLO driver, Altobelli, David, (Thu Jun 12, 1:16 pm)
Re: 2.6.26-rc5: CFI: Found no ck804xrom @ffc00000 device a ..., Jean Delvare, (Thu Jun 12, 1:25 pm)
Re: [PATCH] HP iLO driver, H. Peter Anvin, (Thu Jun 12, 2:05 pm)
Re: [PATCH] HP iLO driver, H. Peter Anvin, (Thu Jun 12, 2:06 pm)
Re: [PATCH] HP iLO driver, Michael Tokarev, (Fri Jun 13, 1:30 am)
RE: [PATCH] HP iLO driver, Altobelli, David, (Fri Jun 13, 6:54 am)