Re: Build error in drivers/cpufreq/intel_pstate.c

From: Srinivas Pandruvada
Date: Tue Oct 30 2018 - 12:22:54 EST


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