From: David Woodhouse Date: Wed, 17 May 2006 21:03:10 +0000 (+0100) Subject: [MTD] Fix printk format error in gen_probe.c X-Git-Tag: v2.6.18-rc1~1105^2~83 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f6a673b3f4f93c1c50e1b18f29254b0531b722a8;p=linux-2.6-omap-h63xx.git [MTD] Fix printk format error in gen_probe.c Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/chips/gen_probe.c b/drivers/mtd/chips/gen_probe.c index b2d30525c04..52d59d35091 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(struct map_info *map, struct chip_probe *cp) 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;