diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-11-10 16:44:50 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-11-11 16:45:08 (GMT) |
commit | 9cdbe14fb468586454d26d7ff878e7b698449727 (patch) | |
tree | 0c493564905b201e3451b108489986b418ac14d7 /init | |
parent | ba13e98f2cebd55a3744c5ffaa08f9dca73bf521 (diff) | |
download | linux-9cdbe14fb468586454d26d7ff878e7b698449727.tar.xz |
rc: print correct variable for z8f0811
A recent rework accidentally left a debugging printk untouched while
changing the meaning of the variables, leading to an uninitialized
variable being printed:
drivers/media/i2c/ir-kbd-i2c.c: In function 'get_key_haup_common':
drivers/media/i2c/ir-kbd-i2c.c:62:2: error: 'toggle' may be used uninitialized in this function [-Werror=maybe-uninitialized]
This prints the correct one instead, as we did before the patch.
Fixes: 00bb820755ed ("[media] rc: Hauppauge z8f0811 can decode RC6")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions