[MTD] Fix debug printk format warning in m25p80 SPI chip driver, again.

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon May 29 06:59:02 EDT 2006


Commit:     19676ff0a64af9d75d48f17cb67bee8110f6ffbf
Parent:     33280eac704e3e156eef2fa9ed9ddf427a1c223c
Author:     Andrew Morton <akpm at osdl.org>
AuthorDate: Mon May 29 11:33:33 2006 +0100
Commit:     David Woodhouse <dwmw2 at infradead.org>
CommitDate: Mon May 29 11:33:33 2006 +0100

    [MTD] Fix debug printk format warning in m25p80 SPI chip driver, again.
    
    Signed-off-by: Andrew Morton <akpm at osdl.org>
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>

 drivers/mtd/devices/m25p80.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index d5f2408..04e65d5 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -186,7 +186,7 @@ static int m25p80_erase(struct mtd_info 
 	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);
 



More information about the linux-mtd-cvs mailing list