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