Re: [PATCH 1/3] x86: sparse warning in cpufreq/powernow-k8.c

2008-02-06 Thread Harvey Harrison
On Wed, 2008-02-06 at 23:35 -0500, Dave Jones wrote: > On Wed, Feb 06, 2008 at 04:07:47PM -0800, Harvey Harrison wrote: > > Nested per_cpu accessors will shadow the internal __ptr variable. Use > > a temporary first_core variable. > > > > arch/x86/kernel/cpu/cpufreq/powernow-k8.c:1239:9: warn

[PATCH 1/3] x86: sparse warning in cpufreq/powernow-k8.c

2008-02-06 Thread Harvey Harrison
Nested per_cpu accessors will shadow the internal __ptr variable. Use a temporary first_core variable. arch/x86/kernel/cpu/cpufreq/powernow-k8.c:1239:9: warning: symbol '__ptr' shadows an earlier one arch/x86/kernel/cpu/cpufreq/powernow-k8.c:1239:9: originally declared here Signed-off-by: Harve