提交 f6a673b3 编写于 作者: D David Woodhouse

[MTD] Fix printk format error in gen_probe.c

Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
上级 fd0e5187
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册