tmp_suning_uos_patched/drivers/media/IR
Dmitry Torokhov 47c5ba53bc Input: ir-keytable - fix uninitialized variable warning
We were forgetting to set up proper return value in success path causing
ir_getkeycode() to fail intermittently:

drivers/media/IR/ir-keytable.c: In function 'ir_getkeycode':
drivers/media/IR/ir-keytable.c:363: warning: 'retval' may be used
uninitialized in this function

Reported-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-10-31 21:05:43 -04:00
..
keymaps
ene_ir.c
ene_ir.h
imon.c
ir-core-priv.h
ir-functions.c
ir-jvc-decoder.c
ir-keytable.c
ir-lirc-codec.c
ir-nec-decoder.c
ir-raw-event.c
ir-rc5-decoder.c
ir-rc5-sz-decoder.c
ir-rc6-decoder.c
ir-sony-decoder.c
ir-sysfs.c
Kconfig
lirc_dev.c
Makefile
mceusb.c
nuvoton-cir.c
nuvoton-cir.h
rc-map.c
streamzap.c