[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1102152347330.2160@pobox.suse.cz>
Date: Tue, 15 Feb 2011 23:48:14 +0100 (CET)
From: Jiri Kosina <jkosina@...e.cz>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: Benjamin Tissoires <benjamin.tissoires@...c.fr>,
Stephane Chatty <chatty@...-enac.fr>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hidinput: kernel oops in out_cleanup in function
hidinput_connect
On Tue, 15 Feb 2011, Dmitry Torokhov wrote:
> > 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@...c.fr>
>
> Yep, well spotted.
>
> Reviewed-by: Dmitry Torokhov <dtor@...l.ru>
Indeed, thanks a lot for spotting this Benjamin. Apparently this codepath
is not excercised too heavily (which is good :) ).
Applied.
--
Jiri Kosina
SUSE Labs, Novell Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists