From: Artem Bityutskiy Date: Mon, 29 Jan 2007 10:05:03 +0000 (+0200) Subject: [MTD] [NOR] STAA: use writesize instead off eccsize to represent ECC block X-Git-Tag: v2.6.21-rc1~66^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=992c9d24c417afce9792da18f8e664c6b9802c5c;p=pandora-kernel.git [MTD] [NOR] STAA: use writesize instead off eccsize to represent ECC block The cfi_staa_write_buffers() uses mtd->eccsize but means mtd->writesize. BTW, mtd-eccsize is broken and is not initialized, which means the code fixed by this patch is broken/unused anyway. Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed