Commit:     029a9eb1f667ca71fe7eb3bf8962f01ac4d252a5
Parent:     ce0f33adec9737bdfe59a10d03fed0c674136ffe
Author:     Ben Dooks <[EMAIL PROTECTED]>
AuthorDate: Mon May 28 20:11:37 2007 +0100
Committer:  David Woodhouse <[EMAIL PROTECTED]>
CommitDate: Thu Jun 28 20:24:31 2007 +0100

    [MTD] [NOR] cfi_cmdset_0001.c: sparse fixes
    Fix sparse warnings generated from cfi_cmdset_0001.c.
    drivers/mtd/chips/cfi_cmdset_0001.c:1783:5: warning: symbol 
'cfi_intelext_erase_varsize' was not declared. Should it be static?
    drivers/mtd/chips/cfi_cmdset_0001.c:2258:43: warning: Using plain integer 
as NULL pointer
    Signed-off-by: Ben Dooks <[EMAIL PROTECTED]>
    Signed-off-by: David Woodhouse <[EMAIL PROTECTED]>
 drivers/mtd/chips/cfi_cmdset_0001.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/chips/cfi_cmdset_0001.c 
index 2f19fa7..46d782f 100644
--- a/drivers/mtd/chips/cfi_cmdset_0001.c
+++ b/drivers/mtd/chips/cfi_cmdset_0001.c
@@ -1780,7 +1780,7 @@ static int __xipram do_erase_oneblock(struct map_info 
*map, struct flchip *chip,
        return ret;
-int cfi_intelext_erase_varsize(struct mtd_info *mtd, struct erase_info *instr)
+static int cfi_intelext_erase_varsize(struct mtd_info *mtd, struct erase_info 
        unsigned long ofs, len;
        int ret;
@@ -2255,7 +2255,7 @@ static void cfi_intelext_save_locks(struct mtd_info *mtd)
                        adr = region->offset + block * len;
                        status = cfi_varsize_frob(mtd,
-                                       do_getlockstatus_oneblock, adr, len, 0);
+                                       do_getlockstatus_oneblock, adr, len, 
                        if (status)
                                set_bit(block, region->lockmap);
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

Reply via email to