lkml.org 
[lkml]   [2009]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFC] [PATCH] drivers/scsi/ch.c: Remove BKL in ch_open
On Sun, 11 Oct 2009 09:19:04 -0700
Arjan van de Ven <arjan@infradead.org> wrote:

> > The more general problem of
> >
> > register_chrdev
> > open
> > do something
> > error
> > unload
> > whoops
> >
> > definitely needs looking at however.
>
> absolutely
>
> we used to have the same issue with networking devices,
> and there it ended up with a split "allocate" and "register"

Char devs are really the same way - request_chrdev_region() and
cdev_add(). I've thought for a while that register_chrdev() should be
seen as a legacy interface and removed - LDD3 was written from that
point of view. But that takes work, and nobody's found the issue
urgent enough to put time into...

jon


\
 
 \ /
  Last update: 2009-10-11 19:13    [from the cache]
©2003-2011 Jasper Spaans