From: frans Date: Wed, 20 Aug 2008 19:11:50 +0000 (+0200) Subject: [MTD] [NAND] nand_ecc.c: fix big endian, strengthen test, add printk X-Git-Tag: v2.6.28-rc1~105^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1077be58ad7baadd86e47e8b4f6209fa5b6364a5;p=pandora-kernel.git [MTD] [NAND] nand_ecc.c: fix big endian, strengthen test, add printk This patch for nand_ecc.c fixes three issues - fix code so it also works on big endian architectures - added a printk in case of an uncorrectable ecc error - strengthen the test for correctable errors (decreasing the chance that multiple bit faults by accident will be seen as correctable) Note: the big endian code is only tested in a testbed (running on big endian hardware) as I cannot rebuild and test a big endian kernel at the moment. However the only thing that can go wrong is if does not give __BIG_ENDIAN in that case. In my eyes very unlikely. Signed-off-by: Frans Meulenbroeks Signed-off-by: David Woodhouse --- Reading git-diff-tree failed