diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-02-17 19:02:05 -0500 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-02-18 11:38:32 -0500 |
commit | 5785bdd6fca4e117c9891c377347ff1a987abb1b (patch) | |
tree | 6625e2a40f407d96772c09553b0973b0fbfaae19 /drivers/mtd/onenand | |
parent | 67a9c7af1f5eb5dbf1399b364fcf7e64dc28236c (diff) |
[MTD] [ONENAND] onenand_base warning fix
drivers/mtd/onenand/onenand_base.c: In function 'onenand_bbt_read_oob':
drivers/mtd/onenand/onenand_base.c:1033: warning: format '%i' expects type 'int', but argument 3 has type 'size_t'
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/onenand')
-rw-r--r-- | drivers/mtd/onenand/onenand_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c index a2342ddc62e7..7f1cb6e5dccb 100644 --- a/drivers/mtd/onenand/onenand_base.c +++ b/drivers/mtd/onenand/onenand_base.c | |||
@@ -1030,7 +1030,7 @@ int onenand_bbt_read_oob(struct mtd_info *mtd, loff_t from, | |||
1030 | size_t len = ops->ooblen; | 1030 | size_t len = ops->ooblen; |
1031 | u_char *buf = ops->oobbuf; | 1031 | u_char *buf = ops->oobbuf; |
1032 | 1032 | ||
1033 | DEBUG(MTD_DEBUG_LEVEL3, "onenand_bbt_read_oob: from = 0x%08x, len = %i\n", (unsigned int) from, len); | 1033 | DEBUG(MTD_DEBUG_LEVEL3, "onenand_bbt_read_oob: from = 0x%08x, len = %zi\n", (unsigned int) from, len); |
1034 | 1034 | ||
1035 | /* Initialize return value */ | 1035 | /* Initialize return value */ |
1036 | ops->oobretlen = 0; | 1036 | ops->oobretlen = 0; |