diff options
| author | Dmitry Torokhov <[email protected]> | 2010-10-31 22:18:42 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-11-01 01:05:43 +0000 |
| commit | 47c5ba53bc5e5f88b5d1bbb97acd25afc27f74eb (patch) | |
| tree | 2255f8b182494f0af2681b94396c1212d8094955 /tools/perf/scripts/python | |
| parent | Merge branch 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
| download | kernel-47c5ba53bc5e5f88b5d1bbb97acd25afc27f74eb.tar.gz kernel-47c5ba53bc5e5f88b5d1bbb97acd25afc27f74eb.zip | |
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 <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
