]> err.no Git - linux-2.6/commitdiff
[MTD] Fix debug printk format warning in m25p80 SPI chip driver, again.
authorAndrew Morton <akpm@osdl.org>
Mon, 29 May 2006 10:33:33 +0000 (11:33 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Mon, 29 May 2006 10:33:33 +0000 (11:33 +0100)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/devices/m25p80.c

index d5f24089be717ab9ec0779208f7f1941a6d320d1..04e65d5dae000f9b3d4f0c94c114da26169d2548 100644 (file)
@@ -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);