linux/drivers/mtd
Phil Carmody 758d8e4634 UBI: eliminate possible undefined behaviour
The assignment to pos when rb is finally NULL is undefined behaviour.
Upon seeing that assignment, GCC may assume that rb is not NULL, and
the loop condition ``rb'' may be optimised away.

Signed-off-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2009-08-14 20:01:36 +03:00
..
chips mtd: CFI 1.0 and CFI 1.1 2009-06-05 17:55:10 +01:00
devices mtd: m25p80 timeout too short for worst-case m25p16 devices 2009-06-26 18:15:21 +01:00
lpddr
maps Remove zero-length file drivers/mtd/maps/sbc8240.c 2009-08-12 06:29:57 -04:00
nand mtd: nand: fix build failure and incorrect return from omap_wait() 2009-06-28 10:24:13 +01:00
onenand mtd: OneNAND: OMAP2/3: free GPMC CS on module removal 2009-08-03 14:22:16 +01:00
tests
ubi UBI: eliminate possible undefined behaviour 2009-08-14 20:01:36 +03:00
afs.c
ar7part.c
cmdlinepart.c mtd: cmdlineparts: Use 64-bit format when printing a debug message. 2009-06-25 08:18:12 +01:00
ftl.c
inftlcore.c mtd: Use BLOCK_NIL consistently in NFTL/INFTL 2009-06-27 09:22:10 +01:00
inftlmount.c
internal.h
Kconfig trivial: mtd: fix Kconfig comment about 'armflash' 2009-06-12 18:01:45 +02:00
Makefile
mtd_blkdevs.c mtd: blkdevs: do not forget to get MTD devices 2009-08-03 14:20:26 +01:00
mtdbdi.c
mtdblock_ro.c
mtdblock.c mtd: mtdblock: introduce mtdblks_lock 2009-08-03 14:25:00 +01:00
mtdchar.c mtd: Fix pointer handling in compat ioctls to use compat_ptr() 2009-05-29 16:09:08 +01:00
mtdconcat.c
mtdcore.c mtd: fix the conversion from dev to mtd_info 2009-08-03 14:16:01 +01:00
mtdcore.h
mtdoops.c
mtdpart.c [MTD] Remove option for add_mtd_partitions() to not register partitions. 2009-05-26 16:45:44 +01:00
mtdsuper.c
nftlcore.c mtd: Use BLOCK_NIL consistently in NFTL/INFTL 2009-06-27 09:22:10 +01:00
nftlmount.c
ofpart.c
redboot.c
rfd_ftl.c
ssfdc.c