Re: [PATCH 29/38] Input: touchscreen: atmel: remove invalid check

2015-09-21 Thread Dmitry Torokhov
Hi Andrzej, On Mon, Sep 21, 2015 at 03:34:01PM +0200, Andrzej Hajda wrote: > byte_offset is unsigned. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 >

[PATCH 29/38] Input: touchscreen: atmel: remove invalid check

2015-09-21 Thread Andrzej Hajda
byte_offset is unsigned. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 Signed-off-by: Andrzej Hajda --- drivers/input/touchscreen/atmel_mxt_ts.c | 2 +- 1 file