From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from faui40.informatik.uni-erlangen.de (faui40.informatik.uni-erlangen.de [131.188.34.40]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 93293B7E01 for ; Thu, 13 May 2010 00:43:57 +1000 (EST) Date: Wed, 12 May 2010 16:34:45 +0200 From: Christoph Egger To: Richard Henderson , Ivan Kokshaysky , Matt Turner , Andrew Morton , FUJITA Tomonori , Mike Frysinger , Graf Yang , Mikael Starvik , Jesper Nilsson , Tony Luck , Fenghua Yu , Benjamin Herrenschmidt , Paul Mackerras , Chen Liqin , Lennox Wu , Arnd Bergmann , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Arjan van de Ven , Karsten Keil , Jesse Barnes , "David S. Miller" , Alexey Kuznetsov , "Pekka Savola (ipv6)" , James Morris , Hideaki YOSHIFUJI , Patrick McHardy , Timo Teras , linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, uclinux-dist-devel@blackfin.uclinux.org, linux-cris-kernel@axis.com, linux-ia64@vger.kernel.org, linuxppc-dev@ozlabs.org, netdev@vger.kernel.org Subject: Config Items appearing twice in same Kconfig file? Message-ID: <20100512143445.GA32559@faui48a.informatik.uni-erlangen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: vamos@i4.informatik.uni-erlangen.de List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi all! First of all sorry for the huge CC, I couldn't come up with a way to create a smaller list while reaching all the relevant people. We, the vamos project[1] at the Friedrich Alexander University are analything the linux configuration model trying to detect errors. During a run with our tools we noticed the fact that the option ALPHA_LEGACY_START_ADDRESS in arch/alpha/Kconfig.debug is listed twice with contradictory dependencies on ALPHA_GENERIC. Taking a closer look[2] we noticed 22 occurences where the same config option is defined more than once in the same Kconfig file, not all of them are, of course, contradictory as the ALPHA sample. We"d be interested in reasons to keep this configuration split up in the same file or if this is just a error introduced someeewhere in linux' development that should be fixed. Regards Chritoph Egger [ Please keep vamos@ Cc-ed -- we're not following all the lkml traffic ;) no need to keep me though ] [1] http://vamos1.informatik.uni-erlangen.de [2] grep ^config **/Kconfig* | sort | uniq -d -c