projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd0e518
)
[MTD] Fix printk format error in gen_probe.c
author
David Woodhouse
<dwmw2@infradead.org>
Wed, 17 May 2006 21:03:10 +0000
(22:03 +0100)
committer
David Woodhouse
<dwmw2@infradead.org>
Wed, 17 May 2006 21:03:10 +0000
(22:03 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/chips/gen_probe.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/chips/gen_probe.c
b/drivers/mtd/chips/gen_probe.c
index
b2d3052
..
52d59d3
100644
(file)
--- 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 %l
KiB chip to %l
KiB\n",
+ printk(KERN_WARNING "Reducing visibility of %l
dKiB chip to %ld
KiB\n",
(unsigned long)mtd->size >> 10,
(unsigned long)map->size >> 10);
mtd->size = map->size;