kernel-ark/drivers
Jesper Juhl 54b2c8f93d UBI: silence a warning
This patch silences the following warning :

  drivers/mtd/ubi/vmt.c:73: warning: 'ret' may be used uninitialized in this function

gcc can't see that we always initialize ret in all situations where it is
actually used. The one case where it's not initialized is when we BUG(),
but gcc doesn't know that we won't then continue and use an uninitialized
'ret'.

This patch results in code that does exactely the same as before, but it
also makes gcc shut up, so we generate one less line of warning noise.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2007-12-26 19:15:14 +02:00
..
acorn/char
acpi Fix /proc/acpi/alarm BCD alarm encodings 2007-10-25 15:08:03 -07:00
amba
ata Merge branch 'sg' of git://git.kernel.dk/linux-2.6-block 2007-10-25 15:44:54 -07:00
atm
auxdisplay
base
block ub: add sg_init_table for sense and read capacity commands 2007-10-25 09:17:03 +02:00
bluetooth
cdrom SG: audit of drivers that use blk_rq_map_sg() 2007-10-24 13:21:21 +02:00
char
clocksource
connector
cpufreq
cpuidle
crypto [CRYPTO] users: Fix up scatterlist conversion errors 2007-10-27 00:52:07 -07:00
dca
dio
dma
edac
eisa
firewire
firmware
hid
hwmon
i2c
ide Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6 2007-10-28 12:03:14 -07:00
ieee1394 SG: Change sg_set_page() to take length and offset argument 2007-10-24 11:20:47 +02:00
infiniband SG: Change sg_set_page() to take length and offset argument 2007-10-24 11:20:47 +02:00
input
isdn ISDN/sc: fix longstanding warning 2007-10-24 05:16:25 -04:00
kvm
leds
lguest lguest: documentation update 2007-10-25 15:02:50 +10:00
macintosh
mca
md [CRYPTO] users: Fix up scatterlist conversion errors 2007-10-27 00:52:07 -07:00
media SG: Change sg_set_page() to take length and offset argument 2007-10-24 11:20:47 +02:00
message SG: audit of drivers that use blk_rq_map_sg() 2007-10-24 13:21:21 +02:00
mfd
misc
mmc scatterlist fallout: mmc 2007-10-27 22:18:12 -07:00
mtd UBI: silence a warning 2007-12-26 19:15:14 +02:00
net [CRYPTO] users: Fix up scatterlist conversion errors 2007-10-27 00:52:07 -07:00
nubus
of
oprofile
parisc
parport
pci
pcmcia
pnp
power
ps3
rapidio
rtc
s390 SG: Change sg_set_page() to take length and offset argument 2007-10-24 11:20:47 +02:00
sbus
scsi [CRYPTO] users: Fix up scatterlist conversion errors 2007-10-27 00:52:07 -07:00
serial serial: stop passing NULL to functions that expect data 2007-10-25 12:18:40 -07:00
sh
sn
spi
ssb
tc
telephony
uio
usb USB: open disconnect race in usblcd 2007-10-25 12:18:46 -07:00
video cirrusfb nonsense 2007-10-27 22:18:12 -07:00
virtio
w1
watchdog
xen
zorro
Kconfig
Makefile