Messages in this thread | | | Date | Mon, 27 Oct 2008 17:29:38 +0100 (CET) | From | Jiri Kosina <> | Subject | Re: [PATCH 1/2] HID: don't oops on suspend of non-bound devices |
| |
On Mon, 27 Oct 2008, Jiri Slaby wrote:
> Usbhid structure is allocated on start invoked only from probe > of some driver. When there is no driver, the structure is null > and causes null-dereference oopses. > > Fix it by allocating the structure on probe and disconnect of > the device itself. Also make sure we won't race between start > and resume or stop and suspend respectively. > > References: http://bugzilla.kernel.org/show_bug.cgi?id=11827
Applied, thanks.
-- Jiri Kosina SUSE Labs
| |