Skip to content

Commit

Permalink
[MTD] Fix printk format error in gen_probe.c
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
dwmw2 committed May 17, 2006
1 parent fd0e518 commit f6a673b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/chips/gen_probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f6a673b

Please sign in to comment.