kernel-fxtec-pro1x/drivers/mtd/ubi
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
..
build.c UBI: fix NOR flash recovery 2009-07-07 11:37:45 +03:00
cdev.c UBI: remove built-in gluebi 2009-06-02 13:53:35 +03:00
debug.c UBI: add image sequence number to EC header 2009-07-05 18:47:07 +03:00
debug.h UBI: remove bogus debugging checks 2009-07-05 18:47:05 +03:00
eba.c UBI: fix double free on error path 2009-07-24 20:08:52 +03:00
gluebi.c UBI: gluebi: initialize ubi_num field 2009-07-15 11:30:55 +03:00
io.c UBI: amend NOR flash pre-erase quirk 2009-08-14 20:01:36 +03:00
kapi.c UBI: add notification API 2009-06-02 13:53:35 +03:00
Kconfig UBI: make gluebi a separate module 2009-06-03 17:45:23 +03:00
Kconfig.debug UBI: allow direct user-space I/O 2009-01-27 16:54:41 +02:00
Makefile UBI: make gluebi a separate module 2009-06-03 17:45:23 +03:00
misc.c UBI: avoid unnecessary division operations 2008-07-24 13:32:54 +03:00
scan.c UBI: print a warning if too many PEBs are corrupted 2009-08-14 20:01:36 +03:00
scan.h UBI: print a warning if too many PEBs are corrupted 2009-08-14 20:01:36 +03:00
ubi-media.h UBI: add image sequence number to EC header 2009-07-05 18:47:07 +03:00
ubi.h UBI: eliminate possible undefined behaviour 2009-08-14 20:01:36 +03:00
upd.c UBI: minor serialization fix 2009-05-18 12:28:26 +03:00
vmt.c UBI: remove built-in gluebi 2009-06-02 13:53:35 +03:00
vtbl.c trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
wl.c UBI: remove bogus debugging checks 2009-07-05 18:47:05 +03:00