Re: [PATCH synaptics] eventcomm: prevent possibly division by zero

2015-03-23 Thread Hans de Goede
Hi, On 23-03-15 02:51, Peter Hutterer wrote: This came up as a kernel bug, but it's valid to create uinput devices with a min == max range for x/y. Technically valid, but effectively useless, so catch it, complain and hobble on along. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net

[PATCH synaptics] eventcomm: prevent possibly division by zero

2015-03-22 Thread Peter Hutterer
This came up as a kernel bug, but it's valid to create uinput devices with a min == max range for x/y. Technically valid, but effectively useless, so catch it, complain and hobble on along. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/eventcomm.c | 10 ++ 1 file