lkml.org 
[lkml]   [2010]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/5] uio: Fix lack of locking in init_uio_class


On Tue, 14 Sep 2010, Eric W. Biederman wrote:

>
> There is no locking in init_uio_class so multiple
> drivers can race and create multiple uio classes.
>
> Fix this by simplifying the code. In particular always
> register the uio class during module_init and make things
> simpler.
>
> Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>


\
 
 \ /
  Last update: 2010-09-17 22:35    [from the cache]
©2003-2011 Jasper Spaans