aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/mtdsuper.c
diff options
context:
space:
mode:
authorfrans <fransmeulenbroeks@gmail.com>2008-08-20 21:11:50 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-08-20 20:58:56 +0100
commit1077be58ad7baadd86e47e8b4f6209fa5b6364a5 (patch)
treed1e9a09005c1f4acaba9f40d58ce87d878bf2e1d /drivers/mtd/mtdsuper.c
parent75caf6b5acc6b895df9bdd36db631220e1096e9f (diff)
[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 <asm/byteorder.h> does not give __BIG_ENDIAN in that case. In my eyes very unlikely. Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/mtdsuper.c')
0 files changed, 0 insertions, 0 deletions