public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] MTD: OneNAND: minor print fix
@ 2007-09-20 14:17 Artem Bityutskiy
  2007-09-21 15:31 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: Artem Bityutskiy @ 2007-09-20 14:17 UTC (permalink / raw)
  To: David Woodhouse; +Cc: Kyungmin Park, linux-mtd@lists.infradead.org

>From 34fdb6b9c912f0be9d92f05a0dfeb47f9145b5cc Mon Sep 17 00:00:00 2001
From: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Date: Thu, 20 Sep 2007 17:13:34 +0300
Subject: [PATCH] MTD: OneNAND: minor print fix

Use the same printk level when printing version information.
There is no reason to print it with KERN_DEBUG when the previous
message was printed with KERN_INFO.

And it is really interesting information to print because it gives
you exact part number and the operating frequency (54MHz, 66MHz, etc).

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
---
 drivers/mtd/onenand/onenand_base.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c
index 0a18528..bb01369 100644
--- a/drivers/mtd/onenand/onenand_base.c
+++ b/drivers/mtd/onenand/onenand_base.c
@@ -2148,7 +2148,7 @@ static void onenand_print_device_info(int device, int version)
                 (16 << density),
                 vcc ? "2.65/3.3" : "1.8",
                 device);
-	printk(KERN_DEBUG "OneNAND version = 0x%04x\n", version);
+	printk(KERN_INFO "OneNAND version 0x%04x\n", version);
 }
 
 static const struct onenand_manufacturers onenand_manuf_ids[] = {
-- 
1.5.2.2


-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] MTD: OneNAND: minor print fix
  2007-09-20 14:17 [PATCH] MTD: OneNAND: minor print fix Artem Bityutskiy
@ 2007-09-21 15:31 ` Artem Bityutskiy
  0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2007-09-21 15:31 UTC (permalink / raw)
  To: David Woodhouse; +Cc: Kyungmin Park, linux-mtd@lists.infradead.org

On Thu, 2007-09-20 at 17:17 +0300, Artem Bityutskiy wrote:
> >From 34fdb6b9c912f0be9d92f05a0dfeb47f9145b5cc Mon Sep 17 00:00:00 2001
> From: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
> Date: Thu, 20 Sep 2007 17:13:34 +0300
> Subject: [PATCH] MTD: OneNAND: minor print fix
> 
> Use the same printk level when printing version information.
> There is no reason to print it with KERN_DEBUG when the previous
> message was printed with KERN_INFO.
> 
> And it is really interesting information to print because it gives
> you exact part number and the operating frequency (54MHz, 66MHz, etc).
> 
> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

This patch is included at "[PATCH try 2] MTD: OneNAND: fix numerous
races", please, use that one instead.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-21 15:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-20 14:17 [PATCH] MTD: OneNAND: minor print fix Artem Bityutskiy
2007-09-21 15:31 ` Artem Bityutskiy

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