Re: [PATCH] Input: vsxxxaa - fix code dropping bytes from queue

2014-10-25 Thread Jan-Benedict Glaw
On Fri, 2014-10-24 15:38:46 -0700, Dmitry Torokhov wrote: > I believe the intent of the code was to drop oldest bytes from the queue, > not the latest if we drop one byte and both latest and some oldest of we > are dropping more than one. > > Signed-off-by: Dmitry Torokhov > --- > drivers/inpu

[PATCH] Input: vsxxxaa - fix code dropping bytes from queue

2014-10-24 Thread Dmitry Torokhov
I believe the intent of the code was to drop oldest bytes from the queue, not the latest if we drop one byte and both latest and some oldest of we are dropping more than one. Signed-off-by: Dmitry Torokhov --- drivers/input/mouse/vsxxxaa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d