[MTD] Fix printk format error in gen_probe.c

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Wed May 17 17:59:01 EDT 2006


Commit:     f6a673b3f4f93c1c50e1b18f29254b0531b722a8
Parent:     fd0e5187458041c82fea616575104698397d68d3
Author:     David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Wed May 17 22:03:10 2006 +0100
Commit:     David Woodhouse <dwmw2 at infradead.org>
CommitDate: Wed May 17 22:03:10 2006 +0100

    [MTD] Fix printk format error in gen_probe.c
    
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>

 drivers/mtd/chips/gen_probe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/chips/gen_probe.c b/drivers/mtd/chips/gen_probe.c
index b2d3052..52d59d3 100644
--- a/drivers/mtd/chips/gen_probe.c
+++ b/drivers/mtd/chips/gen_probe.c
@@ -39,7 +39,7 @@ struct mtd_info *mtd_do_chip_probe(struc
 
 	if (mtd) {
 		if (mtd->size > map->size) {
-			printk(KERN_WARNING "Reducing visibility of %lKiB chip to %lKiB\n",
+			printk(KERN_WARNING "Reducing visibility of %ldKiB chip to %ldKiB\n",
 			       (unsigned long)mtd->size >> 10, 
 			       (unsigned long)map->size >> 10);
 			mtd->size = map->size;



More information about the linux-mtd-cvs mailing list