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

From: John Stoffel
Date: Fri Jun 13 2008 - 15:39:21 EST


>>>>> "Jean" == Jean Delvare <khali@xxxxxxxxxxxx> writes:

This patch fixed my issue with excessive warnings on loading various
mtd drivers.

Tested-by: John stoffel <john@xxxxxxxxxxx>

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

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



Jean> --
Jean> Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/