[MTD] NAND: Use correct mask for OOB size calculation
commitd4094661545662982278900220729982372b0e9a
authorThomas Gleixner <tglx@linutronix.de>
Thu, 11 Aug 2005 17:13:46 +0000 (11 18:13 +0100)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Sun, 6 Nov 2005 19:22:32 +0000 (6 20:22 +0100)
tree845c22d703c1f894fbfe76367e1f9820b1e278f0
parent2c92d755323514a12c367f52027fb1f53328fcd6
[MTD] NAND: Use correct mask for OOB size calculation

The bit mask used for oob size calculation was using 2 bits instead
of one. Fortunately the next bit has been 0 all the time.

Thanks to Nathan H. for pointing this out

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/nand/nand_base.c