Skip to contentSkip to conversation

MTD: OneNAND: minor print fix

PATCH In review Artem Bityutskiy 1 participant 2 messages Sep 20, 2007 – Sep 21, 2007 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MTD: OneNAND: minor print fix

Quoted 1 line

From 34fdb6b9c912f0be9d92f05a0dfeb47f9145b5cc Mon Sep 17 00:00:00 2001

From: Artem Bityutskiy <[email protected]>
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).

---
 drivers/mtd/onenand/onenand_base.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/onenand/onenand_base.c +1 -1
index 0a18528..bb01369 100644
@@ -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[] = {
Signature · 6 lines
1.5.2.2


-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)
#1 lore raw
Quoted 5 lines · Artem Bityutskiy
Quoted 1 line

From 34fdb6b9c912f0be9d92f05a0dfeb47f9145b5cc Mon Sep 17 00:00:00 2001

From: Artem Bityutskiy <[email protected]>
Date: Thu, 20 Sep 2007 17:13:34 +0300
Subject: [PATCH] MTD: OneNAND: minor print fix

Quoted 8 lines

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).

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

Signature · 2 lines
Best regards,
Artem Bityutskiy (Битюцкий Артём)