kernel_optimize_test/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 [MTD] core: Clean up trailing white spaces 2005-11-07 13:37:38 +01:00
cmdlinepart.c [PATCH] mtd cmdlinepart: allow zero offset value 2006-03-31 12:18:48 -08:00
ftl.c [MTD] Make functions static, include header files with prototypes 2005-11-29 19:54:58 +01:00
inftlcore.c [PATCH] Fix debug statement in inftlcore.c 2006-03-31 12:18:48 -08:00
inftlmount.c Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6 2005-11-07 10:24:08 -08:00
Kconfig Trivial typo fixes in Kconfig files (MTD). 2006-05-12 17:35:02 +01:00
Makefile [MTD] Add initial support for OneNAND flash chips 2005-11-06 21:17:24 +01:00
mtd_blkdevs.c [PATCH] sem2mutex: drivers/mtd/ 2006-03-31 12:18:48 -08:00
mtdblock_ro.c Make mtdblock_ro unconditionally readonly 2006-04-17 15:48:16 +01:00
mtdblock.c Simplify test for RAM devices 2006-04-17 15:48:16 +01:00
mtdchar.c OneNAND: One-Time Programmable (OTP) support 2006-05-12 15:35:50 +01:00
mtdconcat.c BUG_ON() Conversion in drivers/mtd/ 2006-03-26 18:15:12 +02:00
mtdcore.c [PATCH] Kill ifdefs in mtdcore.c 2006-03-31 12:18:49 -08:00
mtdpart.c [MTD] core: Clean up trailing white spaces 2005-11-07 13:37:38 +01:00
nftlcore.c Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6 2005-11-07 10:24:08 -08:00
nftlmount.c [MTD] core: Clean up trailing white spaces 2005-11-07 13:37:38 +01:00
redboot.c [PATCH] mtd/redboot: Handle holes in fis table 2006-03-31 12:18:49 -08:00
rfd_ftl.c [PATCH] fix more missing includes 2006-01-08 20:13:45 -08:00