aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/android
diff options
context:
space:
mode:
authorNick Desaulniers <nick.desaulniers@gmail.com>2017-06-24 22:50:12 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-07-25 13:54:31 -0700
commitdae1a432ab1fe79ae53129ededeaece35a2dc14d (patch)
tree970169d8f4593f98400ad92ce967a7fdb8bd9800 /drivers/android
parentARM: pxa/raumfeld: mark rotary encoder properties as __initconst (diff)
downloadlinux-dev-dae1a432ab1fe79ae53129ededeaece35a2dc14d.tar.xz
linux-dev-dae1a432ab1fe79ae53129ededeaece35a2dc14d.zip
Input: mousedev - fix implicit conversion warning
Clang warns: drivers/input/mousedev.c:653:63: error: implicit conversion from 'int' to 'signed char' changes value from 200 to -56 [-Wconstant-conversion] client->ps2[1] = 0x60; client->ps2[2] = 3; client->ps2[3] = 200; ~ ^~~ As the PS2 data is really a stream of bytes, let's switch to using u8 type for it, which silences this warning. Signed-off-by: Nick Desaulniers <nick.desaulniers@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/android')
0 files changed, 0 insertions, 0 deletions