diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-05-23 12:55:26 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-05-23 13:04:37 -0700 |
commit | 7c7da40da1640ce6814dab1e8031b44e19e5a3f6 (patch) | |
tree | 508823d478ad681df8d4136dc4756b8d942ff2eb /drivers/input/misc/ideapad_slidebar.c | |
parent | 0e658060e5fc50dc282885dc424a94b5d95547e5 (diff) |
Input: uinput - add compat ioctl number translation for UI_*_FF_UPLOAD
In the case of compat syscall ioctl numbers for UI_BEGIN_FF_UPLOAD and
UI_END_FF_UPLOAD need to be adjusted before being passed on
uinput_ioctl_handler() since code built with -m32 will be passing
slightly different values. Extend the code already covering
UI_SET_PHYS to cover UI_BEGIN_FF_UPLOAD and UI_END_FF_UPLOAD as well.
Reported-by: Pierre-Loup A. Griffais <pgriffais@valvesoftware.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc/ideapad_slidebar.c')
0 files changed, 0 insertions, 0 deletions