summaryrefslogtreecommitdiff
path: root/Documentation/auxdisplay
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2009-12-25 05:44:19 (GMT)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-12-25 05:54:09 (GMT)
commit1b11c88d3e8f55dc9d193d19de11e3f7abc1b7d7 (patch)
tree51adca3f94ca3a1a31d249faa9da8b6b0d3f8e6b /Documentation/auxdisplay
parent25ae08317647c68ed9276f7bdc07d0d5fd042628 (diff)
downloadlinux-fsl-qoriq-1b11c88d3e8f55dc9d193d19de11e3f7abc1b7d7.tar.xz
Input: ff-memless - another fix for signed to unsigned overflow
The commit 9e68177ef93b2f34eee5a1e1707bceef4b9ba69c changed 'gain' from signed to unsigned to fix an issue with rumble effect calculation, however it introduced problems when calculating constant effects. Having 'gain' being unsigned int was an unfortunate choice since it dominates all implicit type conversions causing everything to be treated as unsigned int. Let's change it back to signed int and simply add proper casts to rumble effect calculations. Reported-by: Gary Stein <lordcnidarian@gmail.com> Acked-by: Anssi Hannula <anssi.hannula@iki.fi> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'Documentation/auxdisplay')
0 files changed, 0 insertions, 0 deletions