[tip:smp/hotplug 39/39] kernel/padata.c:990:2: error: implicit declaration of function 'cpuhp_state_add_instance_nocalls_cpuslocked'
From: kbuild test robot
Date: Sat Apr 22 2017 - 08:51:53 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp/hotplug
head: b6a82f2d736a19456b4eff64d9b7c165f15e5698
commit: b6a82f2d736a19456b4eff64d9b7c165f15e5698 [39/39] padata: Fix fallout from get_online_cpus() rework
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout b6a82f2d736a19456b4eff64d9b7c165f15e5698
# save the attached .config to linux build tree
make.cross ARCH=ia64
All errors (new ones prefixed by >>):
kernel/padata.c: In function 'padata_alloc':
>> kernel/padata.c:990:2: error: implicit declaration of function 'cpuhp_state_add_instance_nocalls_cpuslocked' [-Werror=implicit-function-declaration]
cpuhp_state_add_instance_nocalls_cpuslocked(hp_online, &pinst->node);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/cpuhp_state_add_instance_nocalls_cpuslocked +990 kernel/padata.c
984
985 BLOCKING_INIT_NOTIFIER_HEAD(&pinst->cpumask_change_notifier);
986 kobject_init(&pinst->kobj, &padata_attr_type);
987 mutex_init(&pinst->lock);
988
989 #ifdef CONFIG_HOTPLUG_CPU
> 990 cpuhp_state_add_instance_nocalls_cpuslocked(hp_online, &pinst->node);
991 #endif
992 return pinst;
993
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip