Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5785bdd6fca4e117c9891c377347ff1a987abb1b
Commit:     5785bdd6fca4e117c9891c377347ff1a987abb1b
Parent:     67a9c7af1f5eb5dbf1399b364fcf7e64dc28236c
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Sat Feb 17 16:02:05 2007 -0800
Committer:  David Woodhouse <[EMAIL PROTECTED]>
CommitDate: Sun Feb 18 16:38:32 2007 +0000

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: David Woodhouse <[EMAIL PROTECTED]>
---
 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 a2342dd..7f1cb6e 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,
        size_t len = ops->ooblen;
        u_char *buf = ops->oobbuf;
 
-       DEBUG(MTD_DEBUG_LEVEL3, "onenand_bbt_read_oob: from = 0x%08x, len = 
%i\n", (unsigned int) from, len);
+       DEBUG(MTD_DEBUG_LEVEL3, "onenand_bbt_read_oob: from = 0x%08x, len = 
%zi\n", (unsigned int) from, len);
 
        /* Initialize return value */
        ops->oobretlen = 0;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to