Daniel Mack
0a74a1df3c
Input: evdev - fix Ooops in EVIOCGABS/EVIOCSABS
This fixes a regression introduced by the dynamic allocation of absinfo
for input devices. We need to bail out early for input devices which
don't have absolute axis.
[ 929.664303] Pid: 2989, comm: input Not tainted 2.6.36-rc8+ #14 MS-7260/MS-7260
[ 929.664318] EIP: 0060:[<c12bdc01>] EFLAGS: 00010246 CPU: 0
[ 929.664331] EIP is at evdev_ioctl+0x4f8/0x59f
[ 929.664341] EAX: 00000040 EBX: 00000000 ECX: 00000006 EDX: f45a1efc
[ 929.664355] ESI: 00000000 EDI: f45a1efc EBP: f45a1f24 ESP: f45a1eb8
[ 929.664369] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 929.664402] f470da74 f6a30e78 f462c240 00000018 bfe4a260 00000000 f45b06fc 00000000
[ 929.664429] <0> 000000c4 b769d000 c3544620 f470da74 f45b06fc f45b06fc f45a1f38 c107dd1f
[ 929.664458] <0> f4710b74 000000c4 00000000 00000000 00000000 0000029d 00000a74 f4710b74
[ 929.664500] [<c107dd1f>] ? handle_mm_fault+0x2be/0x59a
[ 929.664513] [<c12bd709>] ? evdev_ioctl+0x0/0x59f
[ 929.664524] [<c1099d30>] ? do_vfs_ioctl+0x494/0x4d9
[ 929.664538] [<c10432a1>] ? up_read+0x16/0x29
[ 929.664550] [<c101c818>] ? do_page_fault+0x2ff/0x32d
[ 929.664564] [<c108d048>] ? do_sys_open+0xc5/0xcf
[ 929.664575] [<c1099db6>] ? sys_ioctl+0x41/0x61
[ 929.664587] [<c1002710>] ? sysenter_do_call+0x12/0x36
[ 929.684570] ---[ end trace 11b83e923bd8f2bb ]---
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2010-10-18 08:45:02 -07:00
..
2010-08-15 17:37:07 -07:00
2010-08-15 01:06:31 -04:00
2010-08-12 09:11:31 -07:00
2010-08-09 20:45:02 -07:00
2010-08-12 09:11:31 -07:00
2010-08-06 12:25:06 -07:00
2010-08-07 18:25:34 +02:00
2010-08-28 21:39:09 -07:00
2010-08-03 13:47:05 -04:00
2010-08-09 20:45:04 -07:00
2010-08-13 10:06:54 +02:00
2010-08-12 09:11:31 -07:00
2010-08-12 09:11:31 -07:00
2010-08-14 12:34:34 -07:00
2010-08-12 11:27:57 +02:00
2010-08-19 22:07:06 -07:00
2010-08-10 15:08:02 -07:00
2010-08-14 21:09:02 +02:00
2010-08-14 11:57:54 -07:00
2010-08-11 23:04:39 +09:30
2010-08-15 11:17:52 -07:00
2010-08-12 09:11:31 -07:00
2010-10-18 08:45:02 -07:00
2010-08-13 10:38:12 -07:00
2010-08-12 09:11:31 -07:00
2010-08-12 10:06:29 -07:00
2010-08-12 04:14:32 +01:00
2010-08-14 00:24:24 +02:00
2010-08-12 08:43:31 -07:00
2010-08-14 16:21:00 -07:00
2010-08-12 10:01:30 -07:00
2010-08-12 10:01:59 -07:00
2010-08-14 11:54:09 -07:00
2010-08-15 17:32:47 -07:00
2010-08-19 22:07:06 -07:00
2010-08-06 09:25:50 -06:00
2010-08-04 15:31:02 -07:00
2010-08-12 09:11:31 -07:00
2010-08-15 17:34:20 -07:00
2010-08-12 09:11:31 -07:00
2010-08-11 18:00:52 +01:00
2010-08-12 09:58:33 -07:00
2010-08-11 11:38:03 +01:00
2010-08-12 09:11:31 -07:00
2010-08-21 00:34:45 -07:00
2010-08-06 09:25:50 -06:00
2010-08-14 12:34:34 -07:00
2010-08-21 00:34:45 -07:00
2010-08-04 16:12:01 +09:00
2010-08-14 11:54:09 -07:00
2010-08-06 12:25:06 -07:00
2010-08-11 23:04:27 +09:30
2010-08-03 09:04:11 +02:00
2010-08-05 13:53:33 -07:00
2010-08-21 00:37:39 -07:00
2010-08-04 11:47:58 -07:00
2010-08-12 10:06:29 -07:00
2010-08-13 20:54:53 +00:00
2010-08-21 00:34:45 -07:00
2010-08-09 21:14:08 +02:00