[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110427013217.GA30804@redhat.com>
Date: Tue, 26 Apr 2011 21:32:17 -0400
From: Dave Jones <davej@...hat.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: linux-next: build warning after merge of the cpufreq tree
On Wed, Apr 27, 2011 at 11:10:24AM +1000, Stephen Rothwell wrote:
> Hi Dave,
>
> After merging the cpufreq tree, today's linux-next build (powerpc
> ppc64_defconfig) produced this warning:
>
> drivers/cpufreq/Kconfig:67:warning: choice value used outside its choice group
> drivers/cpufreq/Kconfig:75:warning: choice value used outside its choice group
> drivers/cpufreq/Kconfig:84:warning: choice value used outside its choice group
> drivers/cpufreq/Kconfig:93:warning: choice value used outside its choice group
> drivers/cpufreq/Kconfig:105:warning: choice value used outside its choice group
>
> I am not sure what has caused this. The only change in the cpufreq tree
> to that file is commit e002ba3328a2 ("[CPUFREQ] Move x86 cpufreq drivers
> to drivers/cpufreq/") which rearranged a few things but nothing obvious.
As the commit message suggests, per-arch cpufreq drivers are moving to drivers/cpufreq/
So far, I've only moved the x86 ones. As a side-effect of this, the
source "drivers/cpufreq/Kconfig" is no longer a per-arch thing, as it now gets
included from kernel/power/Kconfig.
I suspect the warnings are happening because on the unconverted archs, drivers/cpufreq/Kconfig
is now getting included twice. If you kill the 'source' line in kernel/power/Kconfig,
does this make things go back to normal ? (Check that cpufreq still shows up in
the resulting config afterwards)
If so, I'll make that change after all archs have moved their drivers.
Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists