diff options
author | Dmitry Torokhov <[email protected]> | 2017-01-31 15:09:08 -0800 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2017-02-01 10:33:21 -0800 |
commit | 6ecfe51b4082e7cff12609f97daa052ae04b61fd (patch) | |
tree | 46c4182f9166fc447c462eb5bdb52a3cb4d4837a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 73d8ef76006b649f9c272cb4473039e25fcc9908 (diff) |
Input: refuse to register absolute devices without absinfo
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.
Reviewed-by: Benjamin Tissoires <[email protected]>
Acked-by: Jiri Kosina <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions