From: Maxim Levitsky Date: Mon, 22 Feb 2010 18:39:36 +0000 (+0200) Subject: mtd: nand: cleanup the nand_do_write_ops X-Git-Tag: v2.6.35-rc1~465^2~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=782ce79a45b3b850b108896fcf7da26754061c8f;p=pandora-kernel.git mtd: nand: cleanup the nand_do_write_ops nand_do_write_ops was broken in regard to writing several pages, each with its own oob. Although nand_do_write_ops intends to allow such mode, it fails do do so Probably this was never tested. Also add missing checks for attempts to write at illegal offsets. Signed-off-by: Maxim Levitsky Signed-off-by: David Woodhouse --- Reading git-diff-tree failed