alistair23-linux/include/linux/mtd
Dmitry Eremin-Solenikov 24dea0c9fe mtd: map: BUG() in non handled cases
Several map-related functions look like a serie of ifs, checking
widths of map. Those functions do not have any handling for default
case. Instead of fiddling with uninitialized_var in those functions,
let's just add a (correct) BUG() to the default case on those maps. This
will also allow us to catch potential errors in maps setup in future.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
2013-02-22 09:22:19 +02:00
..
bbm.h mtd: Better comment NAND_BBT_NO_OOB 2012-07-06 18:18:18 +01:00
blktrans.h mtd: mtd_blkdevs: Replace request handler kthread with a workqueue 2012-11-21 17:02:23 +02:00
cfi.h
cfi_endian.h
concat.h
doc2000.h mtd: diskonchip: use inline functions for DocRead/DocWrite 2012-11-16 10:57:38 +02:00
flashchip.h
fsmc.h mtd: fsmc_nand: pass the ale and cmd resource via resource 2012-11-15 15:37:47 +02:00
ftl.h
gen_probe.h
inftl.h
latch-addr-flash.h
lpc32xx_mlc.h mtd: lpc32xx_mlc: Make driver independent of AMBA DMA engine driver 2012-09-29 14:53:08 +01:00
lpc32xx_slc.h mtd: lpc32xx_slc: Make driver independent of AMBA DMA engine driver 2012-09-29 14:52:45 +01:00
map.h mtd: map: BUG() in non handled cases 2013-02-22 09:22:19 +02:00
mtd.h mtd: nand: Increase the ecc placement locations to 640 2012-11-15 15:37:48 +02:00
mtdram.h
nand-gpio.h
nand.h mtd: nand: add NAND_BUSWIDTH_AUTO to autodetect bus width 2012-12-03 16:36:52 +02:00
nand_bch.h
nand_ecc.h
ndfc.h
nftl.h
onenand.h
onenand_regs.h
partitions.h mtd: mtdparts: introduce mtd_get_device_size 2012-09-04 09:38:58 +03:00
pfow.h
physmap.h
pismo.h
plat-ram.h
qinfo.h
sh_flctl.h mtd: sh_flctl: Add DMA capabilty 2012-11-15 15:37:50 +02:00
sharpsl.h
spear_smi.h
super.h
ubi.h
xip.h