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


Groups > linux.kernel > #1369460

Re: [PATCH] x86: Add a turbo mode sysctl

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] x86: Add a turbo mode sysctl
Date 2016-04-01 18:10 +0200
Message-ID <rj9O2-6S2-11@gated-at.bofh.it> (permalink)
References <rj9Eo-6vF-25@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 Andy,

[auto build test WARNING on tip/x86/core]
[also build test WARNING on v4.6-rc1 next-20160401]
[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/Andy-Lutomirski/x86-Add-a-turbo-mode-sysctl/20160401-235300
config: i386-randconfig-s1-201613 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

>> arch/x86/mm/pat.c:224:25: warning: 'turbo_mode_table' defined but not used [-Wunused-variable]
    static struct ctl_table turbo_mode_table[] = {
                            ^

vim +/turbo_mode_table +224 arch/x86/mm/pat.c

   208				      void __user *buffer, size_t *lenp,
   209				      loff_t *ppos)
   210	{
   211	        int error;
   212	
   213	        error = proc_dointvec_minmax(table, write, buffer, lenp, ppos);
   214	        if (error)
   215	                return error;
   216	
   217	        if (write)
   218			update_turbo_mode();
   219	
   220	        return 0;
   221	}
   222	
   223	static int zero, one = 1;
 > 224	static struct ctl_table turbo_mode_table[] = {
   225		{
   226			.procname	= "turbo_mode",
   227			.data		= &turbo_mode,
   228			.maxlen		= sizeof(int),
   229			.mode		= 0644,
   230			.proc_handler	= turbo_mode_handler,
   231			.extra1		= &zero,
   232			.extra2		= &one,

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

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


Thread

[PATCH] x86: Add a turbo mode sysctl Andy Lutomirski <luto@kernel.org> - 2016-04-01 18:00 +0200
  Re: [PATCH] x86: Add a turbo mode sysctl Borislav Petkov <bp@alien8.de> - 2016-04-01 18:10 +0200
  Re: [PATCH] x86: Add a turbo mode sysctl kbuild test robot <lkp@intel.com> - 2016-04-01 18:10 +0200
  Re: [PATCH] x86: Add a turbo mode sysctl Thomas Gleixner <tglx@linutronix.de> - 2016-04-01 18:20 +0200

csiph-web