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    [W:0.192 / U:0.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site