Hi Shilpasri,

[auto build test ERROR on pm/linux-next]
[also build test ERROR on v4.4 next-20160121]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:    
https://github.com/0day-ci/linux/commits/Shilpasri-G-Bhat/cpufreq-powernv-Redesign-the-presentation-of-throttle-notification-and-solve-bug-fixes-in-the-driver/20160121-174402
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git 
linux-next
config: powerpc-allyesconfig (attached as .config)
reproduce:
        wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=powerpc 

Note: the 
linux-review/Shilpasri-G-Bhat/cpufreq-powernv-Redesign-the-presentation-of-throttle-notification-and-solve-bug-fixes-in-the-driver/20160121-174402
 HEAD 9aca97b0876d0d182772832e0447a9bf58a967f7 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/cpufreq/powernv-cpufreq.c: In function 'powernv_cpufreq_work_fn':
>> drivers/cpufreq/powernv-cpufreq.c:428:2: error: implicit declaration of 
>> function 'get_online_cpus' [-Werror=implicit-function-declaration]
     get_online_cpus();
     ^
>> drivers/cpufreq/powernv-cpufreq.c:449:2: error: implicit declaration of 
>> function 'put_online_cpus' [-Werror=implicit-function-declaration]
     put_online_cpus();
     ^
   cc1: some warnings being treated as errors

vim +/get_online_cpus +428 drivers/cpufreq/powernv-cpufreq.c

   422  void powernv_cpufreq_work_fn(struct work_struct *work)
   423  {
   424          struct chip *chip = container_of(work, struct chip, throttle);
   425          unsigned int cpu;
   426          cpumask_t mask;
   427  
 > 428          get_online_cpus();
   429          cpumask_and(&mask, &chip->mask, cpu_online_mask);
   430          smp_call_function_any(&mask,
   431                                powernv_cpufreq_throttle_check, NULL, 0);
   432  
   433          if (!chip->restore)
   434                  goto out;
   435  
   436          chip->restore = false;
   437          for_each_cpu(cpu, &mask) {
   438                  int index;
   439                  struct cpufreq_policy policy;
   440  
   441                  cpufreq_get_policy(&policy, cpu);
   442                  cpufreq_frequency_table_target(&policy, 
policy.freq_table,
   443                                                 policy.cur,
   444                                                 CPUFREQ_RELATION_C, 
&index);
   445                  powernv_cpufreq_target_index(&policy, index);
   446                  cpumask_andnot(&mask, &mask, policy.cpus);
   447          }
   448  out:
 > 449          put_online_cpus();
   450  }
   451  
   452  static char throttle_reason[][30] = {

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to