2018-10-30 16:02:36

by Igor Stoppa

[permalink] [raw]
Subject: Build error in drivers/cpufreq/intel_pstate.c

Hi,
I'm getting the following build error:

/home/igor/dev/kernel/linux/drivers/cpufreq/intel_pstate.c: In function
‘show_base_frequency’:
/home/igor/dev/kernel/linux/drivers/cpufreq/intel_pstate.c:726:10:
error: implicit declaration of function
‘intel_pstate_get_cppc_guranteed’; did you mean ‘intel_pstate_get_epp’?
[-Werror=implicit-function-declaration]
ratio = intel_pstate_get_cppc_guranteed(policy->cpu);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
intel_pstate_get_epp



on top of:

commit 11743c56785c751c087eecdb98713eef796609e0
Merge: 929e134c43c9 928002a5e9da

--
igor


2018-10-30 18:24:47

by srinivas pandruvada

[permalink] [raw]
Subject: Re: Build error in drivers/cpufreq/intel_pstate.c

Hi,
On Tue, 2018-10-30 at 18:00 +0200, Igor Stoppa wrote:
> Hi,
> I'm getting the following build error:
>
> /home/igor/dev/kernel/linux/drivers/cpufreq/intel_pstate.c: In
> function
> ‘show_base_frequency’:
> /home/igor/dev/kernel/linux/drivers/cpufreq/intel_pstate.c:726:10:
> error: implicit declaration of function
> ‘intel_pstate_get_cppc_guranteed’; did you mean
> ‘intel_pstate_get_epp’?
> [-Werror=implicit-function-declaration]
> ratio = intel_pstate_get_cppc_guranteed(policy->cpu);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> intel_pstate_get_epp
>
>

This should fix this:

https://patchwork.kernel.org/patch/10653593/

Thanks,
Srinivas
>
> on top of:
>
> commit 11743c56785c751c087eecdb98713eef796609e0
> Merge: 929e134c43c9 928002a5e9da
>
> --
> igor