lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201604020018.MTV0Ki8P%fengguang.wu@intel.com>
Date:	Sat, 2 Apr 2016 00:07:41 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Andy Lutomirski <luto@...nel.org>
Cc:	kbuild-all@...org, x86@...nel.org, Borislav Petkov <bp@...en8.de>,
	linux-kernel@...r.kernel.org, linux-api@...r.kernel.org,
	Andy Lutomirski <luto@...nel.org>
Subject: Re: [PATCH] x86: Add a turbo mode sysctl

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

Download attachment ".config.gz" of type "application/octet-stream" (27118 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ