diff options
author | Fabio Estevam <[email protected]> | 2014-12-13 11:02:08 -0800 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2014-12-14 11:51:36 -0800 |
commit | 1d6a01365fd63fbf7c2709a183e2936728c8efad (patch) | |
tree | 6d2160512479c81447c8ee0b968eef2ef6d885a9 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 66aee90088da2f5fb73ba97ee8b5f4fda92e2b53 (diff) |
Input: gpio_keys - fix warning regarding uninitialized 'button' variable
Commit af906faabcf91eb1 ("Input: gpio_keys - fix warning regarding uninitialized
'irq' variable") introduced the following build warning:
drivers/input/keyboard/gpio_keys.c:625:16: warning: 'button' may be used uninitialized in this function [-Wmaybe-uninitialized]
Move the 'button' initialization to a proper location to avoid such warning.
Reported-by: Olof's autobuilder <[email protected]>
Signed-off-by: Fabio Estevam <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions