diff options
| author | Thomas Knobloch <[email protected]> | 2007-05-05 07:04:42 +0200 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2007-05-05 07:04:42 +0200 |
| commit | a79886590593ba1d667c840caa4940c61639f18f (patch) | |
| tree | 705931458699b81600559d222dad5738cb0ce265 /include/linux | |
| parent | 8d1c439e2d9b0bdfe35df207e2c6b2f3a2312a3b (diff) | |
NAND: Wrong calculation of page number in nand_block_bad()
In case that there is no memory based bad block table available the
function nand_block_checkbad() in drivers/mtd/nand/nand_base.c will call
nand_block_bad() directly. When parameter 'getchip' is set to zero,
nand_block_bad() will not right shift the offset to calculate the
correct page number.
Signed-off-by: Thomas Knobloch <[email protected]>
Signed-off-by: Stefan Roese <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
