All of lore.kernel.org
 help / color / mirror / Atom feed
From: gwr <gwr@free.fr>
To: linux-config@vger.kernel.org
Subject: Kconfig entry defined multiple times
Date: Wed, 22 Aug 2012 10:05:44 +0200	[thread overview]
Message-ID: <503492D8.9030109@free.fr> (raw)

Hello,

I am working on kernel 2.6.32.38, and I see :

~~~~~~~~~~~~~~~~~~~~~~~~~~

arch/x86/Kconfig, 202 :
=============

config USE_GENERIC_SMP_HELPERS
     def_bool y
     depends on SMP

~~~~~~~~~~~~~~~~~~~~~~~~~~

arch/Kconfig, 112 :
===========

config USE_GENERIC_SMP_HELPERS
     bool

~~~~~~~~~~~~~~~~~~~~~~~~~~

Although we have this in Kconfig documentation,
================================================
A config option can be defined multiple times with the same name, but every
definition can have only a single input prompt and the type must not 
conflict.
================================================

here,
   - the first definition is a child of "Linux Kernel Configuration for 
x86" MainMenu ( arch/x86/Kconfig, 1 )
   - the second definition is a child of "General setup" Menu ( 
init/Kconfig, 24 )

So the hierarchy is different ; Can someone give explanations on this ?

Thx

             reply	other threads:[~2012-08-22  8:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-22  8:05 gwr [this message]
2012-08-22  8:42 ` Kconfig entry defined multiple times gwr
2012-08-22  8:45 ` gwr
2012-08-22  8:59   ` gwr

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=503492D8.9030109@free.fr \
    --to=gwr@free.fr \
    --cc=linux-config@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.