diff options
author | Knobloch, Thomas <knobloch@siemens.com> | 2007-04-27 13:19:36 +0200 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-04-27 16:13:53 +0200 |
commit | 78ab67da1002d954ea4c3e2b441e2483c41f94e8 (patch) | |
tree | ea967c51ff6d1b126f3db8ff7c73dfaa63875091 /drivers/s390/sysinfo.c | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torval... (diff) | |
download | linux-78ab67da1002d954ea4c3e2b441e2483c41f94e8.tar.xz linux-78ab67da1002d954ea4c3e2b441e2483c41f94e8.zip |
[MTD] [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 <knobloch@siemens.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/s390/sysinfo.c')
0 files changed, 0 insertions, 0 deletions