mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Greg KH <greg@kroah.com>, Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] deprecate EXPORT_SYMBOL(do_settimeofday)
Date: Sun, 27 Feb 2005 01:43:13 +0100	[thread overview]
Message-ID: <20050227004313.GQ3311@stusta.de> (raw)
In-Reply-To: <20050226172922.B15124@flint.arm.linux.org.uk>

On Sat, Feb 26, 2005 at 05:29:22PM +0000, Russell King wrote:
> On Sat, Feb 26, 2005 at 06:13:25PM +0100, Adrian Bunk wrote:
> > You call it "breakage" because you have a relatively dogmatic view 
> > regarding the selection of user visible symbols.
> > Other people care more about the usability of the kernel config system, 
> > and therefore a select of one of the I2C* options is quite common from 
> > both outside and inside the i2c subsystem.
> 
> I think you have to realise that we're different in the ARM world.
> We tend to rely on the default configuration files to come out with
> something that works, rather than hard coding the "what works" into
> the kernel configuration subsystem.
> 
> If you want to see an example of this kind of "usability" approach,
> take a look at arch/arm/Kconfig LEDS options - lines of 250 or so
> characters of dependencies.  Not what I'd call particularly
> maintainable.
> 
> That is what your approach has in store for the other Kconfig files
> when it comes down to getting dependencies Correct(tm).

LEDS=n and LEDS_TIMER=y is a legal configuration if ARCH_EBSA110?

The LEDS_TIMER dependencies seem to be incorrect at least regarding 
ARCH_CDB89712.

Yes, it is ugly annd error-prone.

> (I do have a simplified LEDS configuration set, but it still keeps
> one huge LEDS dependency.)

The current LEDS configuration is ugly, but that's not an ARM specific 
problem. Compare e.g. the big #if in include/linux/parport.h 30 lines 
before the end of the file in Linus' tree and see how this is resolved 
in -mm in non-pc-parport-config-change.patch .

One solution for LEDS would be to add a helper option HAS_LEDS that gets 
selected by the ARCH_* options if the platform supports LEDS, and LEDS 
simply depends on HAS_LEDS.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


      reply	other threads:[~2005-02-27  0:43 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-24 23:37 [2.6 patch] unexport do_settimeofday Adrian Bunk
2005-02-25  5:24 ` Andrew Morton
2005-02-25  8:02   ` Arjan van de Ven
2005-02-25  8:28     ` Andrew Morton
2005-02-25  8:47       ` Bartlomiej Zolnierkiewicz
2005-02-25  9:26         ` Andreas Dilger
2005-02-25  9:33           ` Arjan van de Ven
2005-02-25  9:46             ` Andrew Morton
2005-02-27 22:44       ` Christoph Hellwig
2005-02-25 21:43   ` Adrian Bunk
2005-02-25 21:55     ` Andrew Morton
2005-02-25 23:02       ` Adrian Bunk
2005-02-25 23:20         ` Andrew Morton
2005-02-26 10:01           ` Arjan van de Ven
2005-02-26 15:28             ` Adrian Bunk
2005-02-26 15:22           ` Adrian Bunk
2005-02-26 13:33   ` [2.6 patch] deprecate EXPORT_SYMBOL(do_settimeofday) Adrian Bunk
2005-02-26 13:37     ` YOSHIFUJI Hideaki / 吉藤英明
2005-02-26 13:38       ` YOSHIFUJI Hideaki / 吉藤英明
2005-02-26 14:46     ` Russell King
2005-02-26 16:23       ` Adrian Bunk
2005-02-26 16:46         ` Russell King
2005-02-26 17:13           ` Adrian Bunk
2005-02-26 17:20             ` Russell King
2005-02-27  0:28               ` Adrian Bunk
2005-02-26 17:29             ` Russell King
2005-02-27  0:43               ` Adrian Bunk [this message]

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=20050227004313.GQ3311@stusta.de \
    --to=bunk@stusta.de \
    --cc=akpm@osdl.org \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.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

Powered by JetHome