]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitb314539f5a06998d0e71dd4741a7c4bc04f64bff
tree40131aa37bf424530108d4a88f494fc6ba98dff7
parentcd78831435efa5863663e755d2f329f49166cbc0
[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