commit | d9236303d0b7ba8bbaeb6adbbf088c3fe2a9ab9e | [log] [tgz] |
---|---|---|
author | Benjamin Tissoires <benjamin.tissoires@enac.fr> | Tue Feb 15 15:41:10 2011 +0100 |
committer | Jiri Kosina <jkosina@suse.cz> | Tue Feb 15 23:47:05 2011 +0100 |
tree | 24e2ca2a398484c986ab3b991a3487ac4c09f518 | |
parent | 6497dc3a5473a0a7948765c45c3dad9ef0395b28 [diff] |
HID: kernel oops in out_cleanup in function hidinput_connect Goto out_cleanup infers a kernel oops: hidinput_disconnect calls input_unregister_driver to all members of hid->inputs. However, hidinput already has been added to hid->inputs even though input_register_device was not called. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@enac.fr> Reviewed-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Jiri Kosina <jkosina@suse.cz>