drivers/media/IR/ir-keytable.c::ir_getkeycode - 'retval' may be useduninitialized

From: Stefan Richter
Date: Sun Oct 31 2010 - 13:51:30 EST


Commit 9f470095068e "Input: media/IR - switch to using new keycode
interface" added the following build warning:

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

It is due to an actual bug but I don't know the fix.
--
Stefan Richter
-=====-==-=- =-=- =====
http://arcgraph.de/sr/

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/