Re: [PATCH] Input: refuse to register absolute devices without absinfo
From: Jiri Kosina
Date: Wed Feb 01 2017 - 06:07:30 EST
On Tue, 31 Jan 2017, Dmitry Torokhov wrote:
> If device is supposed to send absolute events (i.e. EV_ABS bit is set in
> dev->evbit) but dev->absinfo is not allocated, then the driver has done
> something wrong, and we should not register such device. Otherwise we'll
> crash later, when driver tries to send absolute event.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
Acked-by: Jiri Kosina <jkosina@xxxxxxx>
Thanks.
--
Jiri Kosina
SUSE Labs