[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201704222020.FFgERIJF%fengguang.wu@intel.com>
Date: Sat, 22 Apr 2017 20:51:23 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org, tipbuild@...or.com
Subject: [tip:smp/hotplug 39/39] kernel/padata.c:990:2: error: implicit
declaration of function 'cpuhp_state_add_instance_nocalls_cpuslocked'
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
Download attachment ".config.gz" of type "application/gzip" (46754 bytes)
Powered by blists - more mailing lists