Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1418060

Re: [PATCH v3 4/5] freeze: Add error reporting

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 4/5] freeze: Add error reporting
Date 2016-06-09 06:40 +0200
Message-ID <rHZV8-1pg-3@gated-at.bofh.it> (permalink)
References <rHYw1-xz-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v3 4/5] freeze: Add error reporting dbasehore@chromium.org - 2016-06-09 05:10 +0200
  Re: [PATCH v3 4/5] freeze: Add error reporting kbuild test robot <lkp@intel.com> - 2016-06-09 06:40 +0200

csiph-web