Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1571482
| From | Jiri Kosina <jikos@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] Input: refuse to register absolute devices without absinfo |
| Date | 2017-02-01 12:10 +0100 |
| Message-ID | <t60Xv-5a0-1@gated-at.bofh.it> (permalink) |
| References | <t5PSr-6L5-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 <jkosina@suse.cz> Thanks. -- Jiri Kosina SUSE Labs
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] Input: refuse to register absolute devices without absinfo Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-02-01 00:20 +0100 Re: [PATCH] Input: refuse to register absolute devices without absinfo Benjamin Tissoires <benjamin.tissoires@redhat.com> - 2017-02-01 09:40 +0100 Re: [PATCH] Input: refuse to register absolute devices without absinfo Jiri Kosina <jikos@kernel.org> - 2017-02-01 12:10 +0100
csiph-web