[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1211869462.10205.19.camel@shinybook.infradead.org>
Date: Tue, 27 May 2008 07:24:22 +0100
From: David Woodhouse <dwmw2@...radead.org>
To: Arjan van de Ven <arjan@...radead.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Jesper Krogh <jesper@...gh.cc>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@....net>
Subject: Re: Linux 2.6.26-rc4
On Mon, 2008-05-26 at 23:00 -0700, Arjan van de Ven wrote:
> > The driver needs that 'more' to reach the lock registers for the flash
> > chip. If it's being used for other things, shouldn't the
> > request_region() fail?
>
> it does fail....
> ... and then the driver continues anyway!
Heh. That's.... naughty. There are kind of valid reasons for that kind
of thing occasionally, but I suspect not this time.
> absolutely
>
> do we need a MODULE_NO_AUTOLOAD() ?
Just dropping the MODULE_DEVICE_TABLE() should suffice. We should
probably also use the code which is currently in #if 0 which uses
pci_register_driver() instead of doing things for itself; I'm not
entirely sure why that is commented out.
--
dwmw2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists