[MTD] Fix build warnings (and debug build error) in nand_base.c
authorAndrew Morton <akpm@osdl.org>
Tue, 30 May 2006 08:06:41 +0000 (09:06 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 30 May 2006 08:06:41 +0000 (09:06 +0100)
commit7e9a0bb00c4ccb7a05c41b2728758d5bb3dd54fc
tree40131aa37bf424530108d4a88f494fc6ba98dff7
parent098a19811b483f8e047d8292641c88e776452de0
[MTD] Fix build warnings (and debug build error) in nand_base.c

drivers/mtd/nand/nand_base.c: In function 'nand_transfer_oob':
drivers/mtd/nand/nand_base.c:909: warning: comparison of distinct pointer types lacks a cast
drivers/mtd/nand/nand_base.c: In function 'nand_do_read_oob':
drivers/mtd/nand/nand_base.c:1097: error: 'len' undeclared (first use in this function)
drivers/mtd/nand/nand_base.c:1097: error: (Each undeclared identifier is reported only once
drivers/mtd/nand/nand_base.c:1097: error: for each function it appears in.)
drivers/mtd/nand/nand_base.c: In function 'nand_fill_oob':
drivers/mtd/nand/nand_base.c:1411: warning: comparison of distinct pointer types lacks a cast

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/nand_base.c