[PATCH] NAND: fix remaining OOB length calculation
authorVitaly Wool <vwool@ru.mvista.com>
Wed, 7 Jun 2006 05:34:37 +0000 (09:34 +0400)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 20 Jun 2006 19:31:23 +0000 (20:31 +0100)
commit7e4178f90eec862affc97469118d5008bd1b5bda
treeb8b88499e53f5f306754aa26e879e3915e4e7e2c
parentb6d5ee00e397b20dc88f7ffaa6f7651b71996a5c
[PATCH] NAND: fix remaining OOB length calculation

In nand_read_page_syndrome/nand_write_page_syndrome the calculation of
the remaining oob length which is not used by the prepad/ecc/postpad
areas is wrong.

Signed-off-by: Vitaly Wool <vwool@ru.mvista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/nand/nand_base.c