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: <201611032345.KOBMysTk%fengguang.wu@intel.com>
Date:   Thu, 3 Nov 2016 23:53:43 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org, rt@...utronix.de,
        Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
        Tony Luck <tony.luck@...el.com>,
        Fenghua Yu <fenghua.yu@...el.com>, linux-ia64@...r.kernel.org,
        Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH 17/25] ia64/topology: Convert to hotplug state machine

Hi Sebastian,

[auto build test WARNING on linus/master]
[also build test WARNING on v4.9-rc3]
[cannot apply to next-20161028]
[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/Sebastian-Andrzej-Siewior/fs-buffer-Convert-to-hotplug-state-machine/20161103-230222
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

All warnings (new ones prefixed by >>):

   arch/ia64/kernel/topology.c: In function 'cache_remove_dev':
>> arch/ia64/kernel/topology.c:404:17: warning: unused variable 'sys_dev' [-Wunused-variable]
     struct device *sys_dev = get_cpu_device(cpu);
                    ^~~~~~~

vim +/sys_dev +404 arch/ia64/kernel/topology.c

   388				for (j = 0; j < i; j++) {
   389					kobject_put(&(LEAF_KOBJECT_PTR(cpu,j)->kobj));
   390				}
   391				kobject_put(&all_cpu_cache_info[cpu].kobj);
   392				cpu_cache_sysfs_exit(cpu);
   393				return retval;
   394			}
   395			kobject_uevent(&(this_object->kobj), KOBJ_ADD);
   396		}
   397		kobject_uevent(&all_cpu_cache_info[cpu].kobj, KOBJ_ADD);
   398		return retval;
   399	}
   400	
   401	/* Remove cache interface for CPU device */
   402	static int cache_remove_dev(unsigned int cpu)
   403	{
 > 404		struct device *sys_dev = get_cpu_device(cpu);
   405		unsigned long i;
   406	
   407		for (i = 0; i < all_cpu_cache_info[cpu].num_cache_leaves; i++)
   408			kobject_put(&(LEAF_KOBJECT_PTR(cpu,i)->kobj));
   409	
   410		if (all_cpu_cache_info[cpu].kobj.parent) {
   411			kobject_put(&all_cpu_cache_info[cpu].kobj);
   412			memset(&all_cpu_cache_info[cpu].kobj,

---
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/gzip" (45092 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ