From: Greg KH <greg@kroah.com>
To: Marc Zyngier <mzyngier@freesurf.fr>
Cc: torvalds@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] EISA bus update
Date: Tue, 19 Aug 2003 11:35:37 -0700 [thread overview]
Message-ID: <20030819183537.GA5297@kroah.com> (raw)
In-Reply-To: <wrpptj1fr83.fsf@hina.wild-wind.fr.eu.org>
On Tue, Aug 19, 2003 at 08:16:12PM +0200, Marc Zyngier wrote:
> >>>>> "Greg" == Greg KH <greg@kroah.com> writes:
>
> Greg,
>
> Greg> Marc, why do you think that you do not need to do anything in
> Greg> this function? Don't you need to handle the fact that your code
> Greg> could be removed before the release function is called?
>
> Well, there is nothing to do in this function, because that's what the
> whole driver does: nothing. It just presents a range of IO ports to be
> probed to the main EISA code, and nothing else.
But it exports something in sysfs, right? Any reason you just don't
dynamically create it? It's real hard to get static allocation of
struct device correct.
> If the driver is removed from the kernel (which can't happen at the
> moment, since it is not modular), it doesn't matter...
Will this code ever be able to be built as a module? If so, this will
not be correct.
> Once it has registered as an EISA bus root, it doesn't get called
> anymore, the core code does it all by itself.
So the release function never gets called at all then? Why would this
be needed at all?
thanks,
greg k-h
next prev parent reply other threads:[~2003-08-19 18:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-19 12:48 [PATCH] EISA bus update Marc Zyngier
2003-08-19 17:42 ` Greg KH
2003-08-19 18:16 ` Marc Zyngier
2003-08-19 18:35 ` Greg KH [this message]
2003-08-19 19:19 ` Marc Zyngier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030819183537.GA5297@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mzyngier@freesurf.fr \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox