]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - drivers/mtd/chips/gen_probe.c
[MTD] Fix printk format error in gen_probe.c
[linux-2.6.git] / drivers / mtd / chips / gen_probe.c
index b2d30525c04cc36f8cc1da81b7c9b83d38635cbb..52d59d35091d405f3ee65edbaaaa304b87073a8f 100644 (file)
@@ -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) {
 
        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;
                               (unsigned long)mtd->size >> 10, 
                               (unsigned long)map->size >> 10);
                        mtd->size = map->size;