diff options
author | Heiko Stübner <heiko@sntech.de> | 2012-02-01 18:12:23 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-02-01 18:12:54 +0100 |
commit | 42f578741bc59dc871bef03ff0f72dd197388409 (patch) | |
tree | 23383d1b35459bfd26bfd3d8815b80255ed36fc9 /drivers/input/keyboard | |
parent | Input: bcm5974 - set BUTTONPAD property (diff) | |
download | linux-42f578741bc59dc871bef03ff0f72dd197388409.tar.xz linux-42f578741bc59dc871bef03ff0f72dd197388409.zip |
Input: evdev - fix variable initialisation
Commit 509f87c5f564 (evdev - do not block waiting for an event if fd
is nonblock) created a code path were it was possible to use retval
uninitialized.
This could lead to the xorg evdev input driver getting corrupt data
and refusing to work with log messages like
AUO-Pixcir touchscreen: Read error: Success
sg060_keys: Read error: Success
AUO-Pixcir touchscreen: Read error: Success
sg060_keys: Read error: Success
(for drivers auo-pixcir-ts and gpio-keys).
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Dima Zavin <dima@android.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/keyboard')
0 files changed, 0 insertions, 0 deletions