linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH] arm: msm: moved Kconfig machine entry into mach-msm
Date: Fri, 22 Oct 2010 16:25:33 +0100	[thread overview]
Message-ID: <20101022152533.GA29119@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1287760800.18266.5.camel@m0nster>

On Fri, Oct 22, 2010 at 08:20:00AM -0700, Daniel Walker wrote:
> On Fri, 2010-10-22 at 08:49 +0100, Russell King - ARM Linux wrote:
> > On Thu, Oct 21, 2010 at 11:37:35AM -0700, Daniel Walker wrote:
> > > Has anyone suggested this? It seems like it might reduce conflicts
> > > in the Kconfig file.
> > 
> > How?  The choice normally has one entry for each mach- directory.
> > You're still going to have 'source' for each mach- directory, so
> > the chances of conflicts are no different.
> 
> The source lines would be mostly static..

In practice, the entries here are mostly static already - the only
time that something gets added there is when a new class of machines
gets added.

> We wouldn't have to modify
> Kconfig to add new "select" statements to are entries. People end up
> having to send you patches which do something then modify the Kconfig
> (or in some cases they don't send them to you which is worse) in order
> to reduce conflicts. With this change they wouldn't need to do that.

As I say, the only time that these entries get touched is when a new
class of machines gets added - and given that people can't read (proven
by the number of times people get their entries out of order), they
should come through my tree.

> > Plus it increases the file count, makes things more indirect, and
> > therefore harder to follow.
> 
> True. It's a trade off , but we already have this for the other menu
> options further down the Kconfig.

Actually, it'll increase the chances of a conflict when a change is made
to it - because more machine classes will be visible to any particular
patch.  If we have two similarly named machine classes added at the same
time.

I think you're trying to make a mountain out of a mole hill.  This
hasn't been a problem to date.

      reply	other threads:[~2010-10-22 15:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-21 18:37 [RFC PATCH] arm: msm: moved Kconfig machine entry into mach-msm Daniel Walker
2010-10-22  7:49 ` Russell King - ARM Linux
2010-10-22 15:20   ` Daniel Walker
2010-10-22 15:25     ` Russell King - ARM Linux [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=20101022152533.GA29119@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=linux-arm-kernel@lists.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;
as well as URLs for NNTP newsgroup(s).