Hi,

[auto build test WARNING on pm/linux-next]
[also build test WARNING on v4.7-rc2 next-20160608]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:    
https://github.com/0day-ci/linux/commits/dbasehore-chromium-org/Add-suspend-to-idle-validation-for-Intel-SoCs/20160609-111421
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git 
linux-next
config: x86_64-randconfig-s3-06091046 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

>> drivers/cpuidle/cpuidle.c:37:12: warning: 'cpuidle_freeze_error' defined but 
>> not used [-Wunused-variable]
    static int cpuidle_freeze_error;
               ^~~~~~~~~~~~~~~~~~~~

vim +/cpuidle_freeze_error +37 drivers/cpuidle/cpuidle.c

    21  #include <linux/module.h>
    22  #include <linux/suspend.h>
    23  #include <linux/tick.h>
    24  #include <trace/events/power.h>
    25  
    26  #include "cpuidle.h"
    27  
    28  DEFINE_PER_CPU(struct cpuidle_device *, cpuidle_devices);
    29  DEFINE_PER_CPU(struct cpuidle_device, cpuidle_dev);
    30  
    31  DEFINE_MUTEX(cpuidle_lock);
    32  LIST_HEAD(cpuidle_detected_devices);
    33  
    34  static int enabled_devices;
    35  static int off __read_mostly;
    36  static int initialized __read_mostly;
  > 37  static int cpuidle_freeze_error;
    38  
    39  int cpuidle_disabled(void)
    40  {
    41          return off;
    42  }
    43  void disable_cpuidle(void)
    44  {
    45          off = 1;

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

Attachment: .config.gz
Description: Binary data

Reply via email to