lkml.org 
[lkml]   [2011]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] HID: hidraw: fixed hidraw_disconnect()
On Sat, 29 Jan 2011, Stefan Achatz wrote:

> hidraw_disconnect() first sets an entry in hidraw_table to NULL
> and calls device_destroy() afterwards. The thereby called
> hidraw_release() tries to read this already cleared value resulting
> in never removing any device from the list.
> This got fixed by changing the order of events.

Applied, good catch. Thanks,

--
Jiri Kosina
SUSE Labs, Novell Inc.


\
 
 \ /
  Last update: 2011-02-01 11:23    [W:0.027 / U:2.556 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site