Input: sentelic - silence some underflow warnings
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 21 Aug 2015 16:29:50 +0000 (09:29 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 21 Aug 2015 16:32:59 +0000 (09:32 -0700)
commit9c8f55798a9d716daed4de6d7038a21c3ca6e673
tree5528c16272f0f30a4fc1558b7d543f6c0fb1bd7c
parent012bd2a533cd665c9961c5905f144170b16f61e4
Input: sentelic - silence some underflow warnings

I have a static checker that complains when we check for an upper bound
but don't have a corresponding check for a lower bound.  With this code,
the upper bound check seems not really required, so it is not a bug to
leave the lower bound check out as well.  But let's silence the warning
by making these variables unsigned.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/sentelic.c