From: Benjamin Tissoires Date: Tue, 15 Feb 2011 14:41:10 +0000 (+0100) Subject: HID: kernel oops in out_cleanup in function hidinput_connect X-Git-Tag: v2.6.39-rc1~429^2^7~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9236303d0b7ba8bbaeb6adbbf088c3fe2a9ab9e;p=pandora-kernel.git 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 Reviewed-by: Dmitry Torokhov Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed