kernel-ark/drivers/mtd
David Woodhouse 0f5ae3d2e9 [MTD] Deal correctly with NOR chips which are smaller than the map window
We used to calculate the number of chips to be zero, allocate an array
of that size, then nasty things would happen when we attempt to access
the first object in that zero-sized array.

Now, if the number of _full_ chips that would fit into the map is zero,
we allocate an array of one anyway, and then artificially reduce the
total size of the resulting MTD device to fit in the map.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-05-14 01:40:50 +01:00
..
chips [MTD] Deal correctly with NOR chips which are smaller than the map window 2006-05-14 01:40:50 +01:00
devices mtd: fix memory leak in block2mtd_setup() 2006-05-14 01:21:31 +01:00
maps Trivial typo fixes in Kconfig files (MTD). 2006-05-12 17:35:02 +01:00
nand [MTD] Fix module refcounting in NAND board drivers. 2006-05-14 01:20:46 +01:00
onenand OneNAND: fix block command typo 2006-05-12 15:35:51 +01:00
afs.c
cmdlinepart.c
ftl.c
inftlcore.c
inftlmount.c
Kconfig Trivial typo fixes in Kconfig files (MTD). 2006-05-12 17:35:02 +01:00
Makefile
mtd_blkdevs.c
mtdblock_ro.c
mtdblock.c
mtdchar.c
mtdconcat.c
mtdcore.c
mtdpart.c
nftlcore.c
nftlmount.c
redboot.c
rfd_ftl.c