summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-05-29 12:33:33 +0200
committerDavid Woodhouse <dwmw2@infradead.org>2006-05-29 12:33:33 +0200
commit19676ff0a64af9d75d48f17cb67bee8110f6ffbf (patch)
tree3dffe9a2a0696c084d90501862866fb24a0d5687
parent[MTD] AMD Geode NAND support can depend on X86_32; we won't see it on x86_64 (diff)
downloadlinux-19676ff0a64af9d75d48f17cb67bee8110f6ffbf.tar.xz
linux-19676ff0a64af9d75d48f17cb67bee8110f6ffbf.zip
[MTD] Fix debug printk format warning in m25p80 SPI chip driver, again.
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-rw-r--r--drivers/mtd/devices/m25p80.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index d5f24089be71..04e65d5dae00 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -186,7 +186,7 @@ static int m25p80_erase(struct mtd_info *mtd, struct erase_info *instr)
struct m25p *flash = mtd_to_m25p(mtd);
u32 addr,len;
- DEBUG(MTD_DEBUG_LEVEL2, "%s: %s %s 0x%08x, len %zd\n",
+ DEBUG(MTD_DEBUG_LEVEL2, "%s: %s %s 0x%08x, len %d\n",
flash->spi->dev.bus_id, __FUNCTION__, "at",
(u32)instr->addr, instr->len);