[pm:bleeding-edge 48/59] include/linux/cpu_cooling.h:74:1: error: expected identifier or '(' before '{' token

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head:   d13e1d3a8b2b24325a04999530cfe96626373bb6
commit: 9b4bdfa9af95720c88d90fa01de18f4cac9ef4ff [48/59] cpu_cooling: Keep only one of_cpufreq*cooling_register() helper
config: i386-randconfig-x001-12041112 (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
reproduce:
        git checkout 9b4bdfa9af95720c88d90fa01de18f4cac9ef4ff
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   In file included from drivers//cpufreq/cpufreq-dt.c:16:0:
>> include/linux/cpu_cooling.h:74:1: error: expected identifier or '(' before '{' token
    {
    ^
>> include/linux/cpu_cooling.h:73:1: warning: 'of_cpufreq_cooling_register' used but never defined
    of_cpufreq_cooling_register(struct cpufreq_policy *policy);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +74 include/linux/cpu_cooling.h

c36cf071 Javi Merino         2015-02-26  63  
9b4bdfa9 Viresh Kumar        2017-11-15  64  #if defined(CONFIG_THERMAL_OF) && defined(CONFIG_CPU_THERMAL)
9b4bdfa9 Viresh Kumar        2017-11-15  65  /**
9b4bdfa9 Viresh Kumar        2017-11-15  66   * of_cpufreq_cooling_register - create cpufreq cooling device based on DT.
9b4bdfa9 Viresh Kumar        2017-11-15  67   * @policy: cpufreq policy.
9b4bdfa9 Viresh Kumar        2017-11-15  68   */
9b4bdfa9 Viresh Kumar        2017-11-15  69  struct thermal_cooling_device *
9b4bdfa9 Viresh Kumar        2017-11-15  70  of_cpufreq_cooling_register(struct cpufreq_policy *policy);
9b4bdfa9 Viresh Kumar        2017-11-15  71  #else
c36cf071 Javi Merino         2015-02-26  72  static inline struct thermal_cooling_device *
9b4bdfa9 Viresh Kumar        2017-11-15 @73  of_cpufreq_cooling_register(struct cpufreq_policy *policy);
c36cf071 Javi Merino         2015-02-26 @74  {
c36cf071 Javi Merino         2015-02-26  75  	return NULL;
c36cf071 Javi Merino         2015-02-26  76  }
9b4bdfa9 Viresh Kumar        2017-11-15  77  #endif /* defined(CONFIG_THERMAL_OF) && defined(CONFIG_CPU_THERMAL) */
02361418 Amit Daniel Kachhap 2012-08-16  78  

:::::: The code at line 74 was first introduced by commit
:::::: c36cf07176316fbe6a4bdbc23afcb0cbf7822bf2 thermal: cpu_cooling: implement the power cooling device API

:::::: TO: Javi Merino <javi.merino@xxxxxxx>
:::::: CC: Eduardo Valentin <edubezval@xxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux