lkml.org 
[lkml]   [2008]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-10-27 17:33    [W:0.028 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site