Skip to contentSkip to conversation

Fix debug statement in inftlcore.c

PATCH In review Eric Sesterhenn / snakebyte 2 participants 2 messages Jan 25, 2006 – Jan 27, 2006 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix debug statement in inftlcore.c

hi,

this fixes a copy/paste bug found by cpminer inside the inftlcore.c file

drivers/mtd/inftlcore.c renamed from drivers/mtd/inftlcore.c.orig +1 -1
@@ -132,7 +132,7 @@ static void inftl_add_mtd(struct mtd_blk
 		return;
 	}
 #ifdef PSYCHO_DEBUG
-	printk(KERN_INFO "INFTL: Found new nftl%c\n", nftl->mbd.devnum + 'a');
+	printk(KERN_INFO "INFTL: Found new inftl%c\n", inftl->mbd.devnum + 'a');
 #endif
 	return;
 }
#1 lore raw

Hi Eric,

Quoted 2 lines · Eric Sesterhenn / snakebyte

this fixes a copy/paste bug found by cpminer inside the inftlcore.c file

Looks good.

drivers/mtd/inftlcore.c renamed from drivers/mtd/inftlcore.c.orig +1 -1
@@ -132,7 +132,7 @@ static void inftl_add_mtd(struct mtd_blk
 		return;
 	}
 #ifdef PSYCHO_DEBUG
-	printk(KERN_INFO "INFTL: Found new nftl%c\n", nftl->mbd.devnum + 'a');
+	printk(KERN_INFO "INFTL: Found new inftl%c\n", inftl->mbd.devnum + 'a');
 #endif
 	return;
 }
Signature · 5 lines
------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [email protected]
SnapGear -- a CyberGuard Company            PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com