linux/drivers/mtd/ubi
Harvey Harrison 8eee9f100b UBI: fix sparse errors in ubi.h
In C, signed 1-bit bitfields can only take the values 0 and -1, only 0 and 1
are ever assigned in current code.  Make them unsigned bitfields.

Fixes the (repeated) sparse errors:
drivers/mtd/ubi/ubi.h:220:15: error: dubious one-bit signed bitfield
drivers/mtd/ubi/ubi.h:221:17: error: dubious one-bit signed bitfield
drivers/mtd/ubi/ubi.h:222:18: error: dubious one-bit signed bitfield
drivers/mtd/ubi/ubi.h:223:16: error: dubious one-bit signed bitfield
drivers/mtd/ubi/ubi.h:224:20: error: dubious one-bit signed bitfield

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Artem Bityutskiy <dedekind@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-03-04 11:02:50 +02:00
..
build.c UBI: fix error message 2008-03-04 11:02:26 +02:00
cdev.c UBI: implement atomic LEB change ioctl 2008-01-25 16:41:26 +02:00
debug.c UBI: use byte hexdump 2007-10-14 13:10:21 +03:00
debug.h UBI: add PID to debugging prints 2007-12-26 19:15:16 +02:00
eba.c UBI: handle zero-length case 2008-01-25 16:41:25 +02:00
gluebi.c UBI: improve internal interfaces 2007-12-26 19:15:15 +02:00
io.c UBI: fix error code in ubi_io_read() 2007-12-26 19:15:13 +02:00
kapi.c UBI: fix warnings 2008-01-25 16:41:24 +02:00
Kconfig UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
Kconfig.debug UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
Makefile UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
misc.c UBI: improve internal interfaces 2007-12-26 19:15:15 +02:00
scan.c UBI: add layout volume information 2008-01-25 16:41:25 +02:00
scan.h UBI: do not use vmalloc on I/O path 2007-10-14 13:10:21 +03:00
ubi.h UBI: fix sparse errors in ubi.h 2008-03-04 11:02:50 +02:00
upd.c UBI: implement atomic LEB change ioctl 2008-01-25 16:41:26 +02:00
vmt.c UBI: silence warning 2008-03-04 11:02:04 +02:00
vtbl.c UBI: do not flush queue on each vtbl change 2008-02-01 13:48:49 +02:00
wl.c UBI: fix warnings 2008-01-25 16:41:25 +02:00