From: kbuild test robot <fengguang.wu@intel.com>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
tipbuild@zytor.com, Thomas Gleixner <tglx@linutronix.de>,
Richard Weinberger <richard@nod.at>
Subject: [tip:smp/hotplug 15/27] kernel/cpu.c:1282:3: error: 'CPUHP_SLAB_PREPARE' undeclared here (not in a function)
Date: Wed, 7 Sep 2016 00:08:04 +0800 [thread overview]
Message-ID: <201609070000.ZdRjdy2z%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3584 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp/hotplug
head: 712251665c8b6ff95fd27876338c2543d8fb5bc8
commit: e37b94bdb19a66c1164b0916c648da15c44ff39a [15/27] slab: Convert to hotplug state machine
config: i386-randconfig-s0-201636 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
git checkout e37b94bdb19a66c1164b0916c648da15c44ff39a
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
kernel/cpu.c:1277:26: warning: missing braces around initializer [-Wmissing-braces]
[CPUHP_RELAY_PREPARE] = {
^
kernel/cpu.c:1277:26: note: (near initialization for 'cpuhp_bp_states[19]')
>> kernel/cpu.c:1282:3: error: 'CPUHP_SLAB_PREPARE' undeclared here (not in a function)
[CPUHP_SLAB_PREPARE] = {
^~~~~~~~~~~~~~~~~~
>> kernel/cpu.c:1282:3: error: array index in initializer not of integer type
kernel/cpu.c:1282:3: note: (near initialization for 'cpuhp_bp_states')
kernel/cpu.c:1282:25: warning: missing braces around initializer [-Wmissing-braces]
[CPUHP_SLAB_PREPARE] = {
^
kernel/cpu.c:1282:25: note: (near initialization for 'cpuhp_bp_states[20]')
kernel/cpu.c:1287:25: warning: missing braces around initializer [-Wmissing-braces]
[CPUHP_RCUTREE_PREP] = {
^
kernel/cpu.c:1287:25: note: (near initialization for 'cpuhp_bp_states[20]')
kernel/cpu.c:1296:27: warning: missing braces around initializer [-Wmissing-braces]
[CPUHP_NOTIFY_PREPARE] = {
^
kernel/cpu.c:1296:27: note: (near initialization for 'cpuhp_bp_states[21]')
kernel/cpu.c:1308:24: warning: missing braces around initializer [-Wmissing-braces]
[CPUHP_TIMERS_DEAD] = {
^
kernel/cpu.c:1308:24: note: (near initialization for 'cpuhp_bp_states[22]')
kernel/cpu.c:1314:24: warning: missing braces around initializer [-Wmissing-braces]
[CPUHP_BRINGUP_CPU] = {
^
kernel/cpu.c:1314:24: note: (near initialization for 'cpuhp_bp_states[23]')
kernel/cpu.c:1320:28: warning: missing braces around initializer [-Wmissing-braces]
[CPUHP_AP_SMPCFD_DYING] = {
^
kernel/cpu.c:1320:28: note: (near initialization for 'cpuhp_bp_states[66]')
kernel/cpu.c:1329:25: warning: missing braces around initializer [-Wmissing-braces]
[CPUHP_TEARDOWN_CPU] = {
^
kernel/cpu.c:1329:25: note: (near initialization for 'cpuhp_bp_states[69]')
kernel/cpu.c:1244:46: warning: missing braces around initializer [-Wmissing-braces]
static struct cpuhp_step cpuhp_bp_states[] = {
^
kernel/cpu.c:1244:46: note: (near initialization for 'cpuhp_bp_states')
vim +/CPUHP_SLAB_PREPARE +1282 kernel/cpu.c
1271 },
1272 [CPUHP_SMPCFD_PREPARE] = {
1273 .name = "smpcfd:prepare",
1274 .startup.single = smpcfd_prepare_cpu,
1275 .teardown.single = smpcfd_dead_cpu,
1276 },
> 1277 [CPUHP_RELAY_PREPARE] = {
1278 .name = "relay:prepare",
1279 .startup = relay_prepare_cpu,
1280 .teardown = NULL,
1281 },
> 1282 [CPUHP_SLAB_PREPARE] = {
1283 .name = "slab:prepare",
1284 .startup = slab_prepare_cpu,
1285 .teardown = slab_dead_cpu,
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 22126 bytes --]
next reply other threads:[~2016-09-06 16:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-06 16:08 kbuild test robot [this message]
2016-09-06 16:13 ` Sebastian Andrzej Siewior
2016-09-06 16:23 ` Thomas Gleixner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201609070000.ZdRjdy2z%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=bigeasy@linutronix.de \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=richard@nod.at \
--cc=tglx@linutronix.de \
--cc=tipbuild@zytor.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®