tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
v5.10-rc2-stable
head: fff950790f1aeb42f8b38de431ac45069cf84a73
commit: 3481431b56997fb32fa6611f2b47b13e563e2b69 [47/63] cpufreq: schedutil: Always call
driver if CPUFREQ_NEED_UPDATE_LIMITS is set
config: i386-randconfig-a013-20201102 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
#
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/c...
git remote add sashal-linux-stable
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable v5.10-rc2-stable
git checkout 3481431b56997fb32fa6611f2b47b13e563e2b69
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
kernel/sched/cpufreq_schedutil.c: In function 'sugov_update_next_freq':
> kernel/sched/cpufreq_schedutil.c:106:7: error: implicit
declaration of function 'cpufreq_driver_test_flags'; did you mean
'cpufreq_driver_fast_switch'? [-Werror=implicit-function-declaration]
106 | !cpufreq_driver_test_flags(CPUFREQ_NEED_UPDATE_LIMITS))
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| cpufreq_driver_fast_switch
> kernel/sched/cpufreq_schedutil.c:106:33: error:
'CPUFREQ_NEED_UPDATE_LIMITS' undeclared (first use in this function)
106 | !cpufreq_driver_test_flags(CPUFREQ_NEED_UPDATE_LIMITS))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
kernel/sched/cpufreq_schedutil.c:106:33: note: each undeclared identifier is reported
only once for each function it appears in
kernel/sched/cpufreq_schedutil.c: In function 'get_next_freq':
kernel/sched/cpufreq_schedutil.c:180:33: error: 'CPUFREQ_NEED_UPDATE_LIMITS'
undeclared (first use in this function)
180 | !cpufreq_driver_test_flags(CPUFREQ_NEED_UPDATE_LIMITS))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +106 kernel/sched/cpufreq_schedutil.c
101
102 static bool sugov_update_next_freq(struct sugov_policy *sg_policy, u64 time,
103 unsigned int next_freq)
104 {
105 if (sg_policy->next_freq == next_freq &&
106 !cpufreq_driver_test_flags(CPUFREQ_NEED_UPDATE_LIMITS))
107 return false;
108
109 sg_policy->next_freq = next_freq;
110 sg_policy->last_freq_update_time = time;
111
112 return true;
113 }
114
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org