public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Erwin Authried <eauth@softsys.co.at>
To: 'MTD List' <mtd@infradead.org>
Subject: Re: 2.4 stuff.
Date: Tue, 21 Nov 2000 13:11:57 +0100	[thread overview]
Message-ID: <01C053BC.A1578B40@smithwicks.softsys.co.at> (raw)

David Woodhouse[SMTP:dwmw2@infradead.org] wrote:
> eauth@softsys.co.at said:
> > * compatmac.h: For 2.0, the inter_module_* functions are defined as
> > empty macros if CONFIG_MODULES is not defined. If CONFIG_MODULES is
> > defined (for 2.0), compilation is stopped with #error saying that it's
> > not possible to use MTD in 2.0 kernels with module support enabled.
> 
> Careful not to make the #error break stuff that does actually work. 
> If you're compiling in all the stuff that you're actually going to need, 
> but also have CONFIG_MODULES, it should all work, shouldn't it?
> 
Yes, you are right, that's really too restrictive. You can use modules in 
general, but MTD must be linked statically. 

> It might be better to define the inter_module_get() functions to return 
> NULL but printk a warning that they've been used - which should explain to 
> the user why it's not actually working for them.
> 
Nevertheless, I think that configuration of non-working stuff should be
disallowed by the configuration script, or by aborting the compilation. 
Why should we guide the user into a trap if we know it doesn't work?

-Erwin



To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

             reply	other threads:[~2000-11-21 12:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-21 12:11 Erwin Authried [this message]
2000-11-21 13:32 ` 2.4 stuff David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2000-11-21 13:46 Erwin Authried
2000-11-21 11:15 Erwin Authried
2000-11-21 11:42 ` David Woodhouse
2000-11-21  9:08 David Woodhouse
2000-11-21 14:55 ` Nicolas Pitre
2000-11-21 15:10   ` David Woodhouse
2000-12-12 13:24   ` David Woodhouse
2000-12-12 20:12     ` Nicolas Pitre
2000-12-13 10:24       ` David Woodhouse
2000-12-14 21:25         ` Nicolas Pitre
2000-12-15 17:57           ` Alice Hennessy
2000-12-15 17:59             ` David Woodhouse

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=01C053BC.A1578B40@smithwicks.softsys.co.at \
    --to=eauth@softsys.co.at \
    --cc=mtd@infradead.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