[Yaffs] cvs YAFFS + MTD cvs + 2.4.27-vrs1 problems

Thomas Gleixner tglx@linutronix.de
Mon, 06 Dec 2004 21:33:09 +0100


On Mon, 2004-12-06 at 15:17 +0100, Thomas Gleixner wrote:
> > static void at91_nand_command (struct mtd_info *mtd, unsigned command, int column, int page_addr)
> 
> 	my_nand->cmdfunc = at91_nand_command;	/* we need our own */
> 
> You don't need your own command function. There is no reason for it. It
> is just duplicated code. 

It's not only duplicated code, it's also complete broken code. 

I bet, that's the reason for your problem.

tglx