diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-09-29 16:02:29 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-09-29 16:09:36 -0700 |
commit | 379d7cfa9bcae3b89299fdcb135ec0e2810e97bc (patch) | |
tree | eb440160dd851c8103c0ca44b253c803ec166fd7 /drivers/atm | |
parent | b83b14598ffbb59bc96dbd3d4350a3b8f0287bb2 (diff) | |
download | linux-379d7cfa9bcae3b89299fdcb135ec0e2810e97bc.tar.bz2 |
Input: ff-core - silence an underflow warning
My static checker complains that "value" comes from the user in
evdev_do_ioctl() and we check that it's not too large here but we don't
check that it's negative. It's harmless because the ->set_gain() and
->set_autocenter() functions truncate it to a valid u16 value, but we
may as well fix it just to make the static checker happy.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions