diff options
| author | Nick Desaulniers <nick.desaulniers@gmail.com> | 2017-06-25 08:50:12 +0300 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-07-25 23:54:31 +0300 |
| commit | dae1a432ab1fe79ae53129ededeaece35a2dc14d (patch) | |
| tree | 970169d8f4593f98400ad92ce967a7fdb8bd9800 /net/unix/sysctl_net_unix.c | |
| parent | 3dabc19acf79fa77e3a59a43b764b24d5be453be (diff) | |
| download | linux-dae1a432ab1fe79ae53129ededeaece35a2dc14d.tar.xz | |
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 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
