Re: linux-next: cpufreq-current tree build warning

From: Dave Jones
Date: Wed Sep 16 2009 - 22:27:48 EST


On Thu, Sep 17, 2009 at 12:06:51PM +1000, Stephen Rothwell wrote:
> Hi Dave,
>
> Today's linux-next build (x86_64 allmodconfig) produced this warning:
>
> arch/x86/kernel/cpu/cpufreq/powernow-k8.c: In function 'fill_powernow_table_fidvid':
> arch/x86/kernel/cpu/cpufreq/powernow-k8.c:1001: warning: passing argument 1 of 'invalidate_entry' from incompatible pointer type
> arch/x86/kernel/cpu/cpufreq/powernow-k8.c:608: note: expected 'struct cpufreq_frequency_table *' but argument is of type 'struct powernow_k8_data *'
>
> Introduced by commit 7fc1b26613587ab4369615445b5485040c60fef1 ("[CPUFREQ]
> Fix NULL ptr regression in powernow-k8").

Hi Stephen,

I'm very confused. I don't see this..

(22:22:25:davej:cpufreq)$ make arch/x86/kernel/cpu/cpufreq/powernow-k8.o
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CALL scripts/checksyscalls.sh
CC [M] arch/x86/kernel/cpu/cpufreq/powernow-k8.o
(22:22:30:davej:cpufreq)$

Also, line 1001 is ..

if (data->acpi_data.state_count)

So I'm not sure what your gcc is talking about.

Does next contain additional patches to this file from outside the cpufreq.git tree?

Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/