# Re: \[PATCH\] Input: refuse to register absolute devices without absinfo

- From: Jiri Kosina \<jikos@kernel.org\>
- Date: 2017-02-01 11:07:26 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2017/02/4925105
- Thread: https://ratatoskr.run/linux-input/2017/01/4924796/t.md

```text
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@gmail.com>

Acked-by: Jiri Kosina <redacted>

Thanks.

-- 
Jiri Kosina
SUSE Labs

```
