Skip to contentSkip to conversation

Build error in drivers/cpufreq/intel_pstate.c

DISCUSSION Igor Stoppa 2 participants 2 messages Oct 30, 2018

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Hi,

Quoted 11 lines · Igor Stoppa

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]

Quoted 5 lines
   ratio = intel_pstate_get_cppc_guranteed(policy->cpu);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           intel_pstate_get_epp

This should fix this:

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

Thanks,
Srinivas

Quoted 8 lines

on top of:

commit 11743c56785c751c087eecdb98713eef796609e0
Merge: 929e134c43c9 928002a5e9da

--
igor