From: Vitaly Wool Date: Sat, 16 Sep 2006 19:15:58 +0000 (-0700) Subject: [PATCH] MTD NAND: OOB buffer offset fixups X-Git-Tag: v2.6.18~14^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96da96065bd66164acc3c8a1ea6db4ee765537e9;p=pandora-kernel.git [PATCH] MTD NAND: OOB buffer offset fixups In the case of data-pad-ecc-pad-data... layout the oob start position has to be sizeof(data) in nand_write_oob_syndrom(). In nand_fill_oob() we need to copy to buf + buffer offset instead of buf + write offset. Signed-off-by: Vitaly Wool Signed-off-by: Thomas Gleixner Signed-off-by: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed